Class StreamResponse
java.lang.Object
org.springframework.ai.huggingface.model.StreamResponse
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-02-23T12:52:39.788564498-05:00[America/New_York]")
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
-