gen_ai.output.type
MovedGenAI registryenumas of v1.44.0
Represents the content type requested by the client.
This attribute SHOULD be used when the client requests output of a specific type. The model may return zero or more outputs of this type.
This attribute specifies the output modality and not the actual output format. For example, if an image is requested, the actual output could be a URL pointing to an image file.
Additional output format details may be recorded in the future in the gen_ai.output.{type}.* attributes.
Values (4)
textPlain textjsonJSON object with known or unknown schemaimageImagespeechSpeech
Used by
events (1)
- gen_ai.client.inference.operation.details
spans (9)
- span.anthropic.inference.client
- span.aws.bedrock.client
- span.azure.ai.inference.client
- span.azure.ai.inference.client
- span.gen_ai.inference.client
- span.gen_ai.invoke_agent.client
- span.gen_ai.invoke_agent.internal
- span.openai.inference.client
- span.openai.inference.client
* required on that signal.
History
- v1.42.0deprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
Added as development.