Record Class TitanChatBedrockApi.TitanChatResponseChunk

java.lang.Object
java.lang.Record
org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatResponseChunk
Record Components:
outputText - The generated text in this chunk.
index - The index of the chunk in the streaming response.
inputTextTokenCount - The number of tokens in the prompt.
totalOutputTextTokenCount - The number of tokens in the response.
completionReason - The reason the response finished being generated.
amazonBedrockInvocationMetrics - The metrics for the invocation.
Enclosing class:
TitanChatBedrockApi

public static record TitanChatBedrockApi.TitanChatResponseChunk(String outputText, Integer index, Integer inputTextTokenCount, Integer totalOutputTextTokenCount, TitanChatBedrockApi.TitanChatResponse.CompletionReason completionReason, AbstractBedrockApi.AmazonBedrockInvocationMetrics amazonBedrockInvocationMetrics) extends Record
Titan chat model streaming response.