Class StreamResponse
java.lang.Object
org.springframework.ai.huggingface.model.StreamResponse
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-03-12T15:00:59.645979611-04: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
-