Package ai.picovoice.picollm
Class PicoLLMCompletion.Token
java.lang.Object
ai.picovoice.picollm.PicoLLMCompletion.Token
- Enclosing class:
- PicoLLMCompletion
Represents a generated token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatGetter for the log probability.getToken()Getter for the token.
-
Constructor Details
-
Token
Constructor for the Token class.- Parameters:
token- The token.logProb- The log probability.
-
-
Method Details
-
getToken
Getter for the token.- Returns:
- The token.
-
getLogProb
public float getLogProb()Getter for the log probability.- Returns:
- The log probability.
-