Record Class Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Token

java.lang.Object
java.lang.Record
org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Token
Record Components:
generatedToken - The generatedToken fields.
topTokens - The topTokens field is a list of the top K alternative tokens for this position, sorted by probability, according to the topKReturn request parameter. If topKReturn is set to 0, this field will be null.
textRange - The textRange field indicates the start and end offsets of the token in the decoded text string.
Enclosing class:
Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse

Provides detailed information about each token in both the prompt and the completions.