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="2024-03-12T15:00:59.645979611-04:00[America/New_York]")
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
-