Class StreamDetails
java.lang.Object
org.springframework.ai.huggingface.model.StreamDetails
- Direct Known Subclasses:
AllOfStreamResponseDetails
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-15T11:37:42.297563829Z[Etc/UTC]")
public class StreamDetails
extends Object
StreamDetails
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
finishReason
(FinishReason finishReason) generatedTokens
(Integer generatedTokens) Get finishReasonGet generatedTokens minimum: 0getSeed()
Get seed minimum: 0int
hashCode()
void
setFinishReason
(FinishReason finishReason) void
setGeneratedTokens
(Integer generatedTokens) void
toString()
-
Constructor Details
-
StreamDetails
public StreamDetails()
-
-
Method Details
-
finishReason
-
getFinishReason
Get finishReason- Returns:
- finishReason
-
setFinishReason
-
generatedTokens
-
getGeneratedTokens
Get generatedTokens minimum: 0- Returns:
- generatedTokens
-
setGeneratedTokens
-
seed
-
getSeed
Get seed minimum: 0- Returns:
- seed
-
setSeed
-
equals
-
hashCode
public int hashCode() -
toString
-