Record Class Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Completion

java.lang.Object
java.lang.Record
org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Completion
Record Components:
data - The data field contains the prompt used for the completion.
finishReason - The finishReason field provides detailed information about why the completion was halted.
Enclosing class:
Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse

public static record Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Completion(Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Prompt data, Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.FinishReason finishReason) extends Record
The completions generated by the model.