Record Class Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse

java.lang.Object
java.lang.Record
org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse
Record Components:
id - The unique identifier of the response.
prompt - The prompt used for the chat.
amazonBedrockInvocationMetrics - The metrics about the model invocation.
Enclosing class:
Ai21Jurassic2ChatBedrockApi

public static record Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse(String id, Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Prompt prompt, List<Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatResponse.Completion> completions, AbstractBedrockApi.AmazonBedrockInvocationMetrics amazonBedrockInvocationMetrics) extends Record
Ai21 Jurassic2 chat response. https://docs.ai21.com/reference/j2-complete-api-ref#response