Class StreamResponse
java.lang.Object
org.springframework.ai.huggingface.model.StreamResponse
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-12-24T16:12:56.524421357Z[Etc/UTC]")
public class StreamResponse
extends Object
StreamResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondetails
(AllOfStreamResponseDetails details) boolean
generatedText
(String generatedText) Get detailsGet generatedTextgetToken()
Get tokenint
hashCode()
void
setDetails
(AllOfStreamResponseDetails details) void
setGeneratedText
(String generatedText) void
toString()
-
Constructor Details
-
StreamResponse
public StreamResponse()
-
-
Method Details
-
details
-
getDetails
Get details- Returns:
- details
-
setDetails
-
generatedText
-
getGeneratedText
Get generatedText- Returns:
- generatedText
-
setGeneratedText
-
token
-
getToken
Get token- Returns:
- token
-
setToken
-
equals
-
hashCode
public int hashCode() -
toString
-