Class OllamaGenerateResponse
java.lang.Object
io.intino.alexandria.ollama.responses.OllamaResponse
io.intino.alexandria.ollama.responses.OllamaGenerateResponse
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]context()context(int[] context) booleandone()done(boolean done) longevalCount(long evalCount) longevalDuration(long evalDuration) fullText()longloadDuration(long loadDuration) model()longpromptEvalCount(long promptEvalCount) longpromptEvalDuration(long promptEvalDuration) response()text()thinking()floatlongtotalDuration(long totalDuration) Methods inherited from class io.intino.alexandria.ollama.responses.OllamaResponse
fromJson, toJson, toString
-
Constructor Details
-
OllamaGenerateResponse
public OllamaGenerateResponse()
-
-
Method Details
-
model
-
model
-
createdAt
-
createdAt
-
response
-
text
-
fullText
-
response
-
thinking
-
thinking
-
done
public boolean done() -
done
-
context
public int[] context() -
context
-
totalDuration
public long totalDuration() -
totalDuration
-
loadDuration
public long loadDuration() -
loadDuration
-
promptEvalCount
public long promptEvalCount() -
promptEvalCount
-
promptEvalDuration
public long promptEvalDuration() -
promptEvalDuration
-
evalCount
public long evalCount() -
evalCount
-
evalDuration
public long evalDuration() -
evalDuration
-
tokensPerSecond
public float tokensPerSecond()
-