genai:Completion
The completion output from a generative AI model.
Represents the generated output from an LLM completion action.
Properties
genai:content (required, max 1)
Text content.
Completion must have exactly one content property (string).
For Completion: the generated text output. For ChatMessage: the message text.
genai:stopReason (optional, max 1)
The reason why the generation stopped.
Completion may have a stop reason indicating why generation ended.
Indicates whether generation stopped naturally (end_turn) or due to limits (max_tokens, stop_sequence).