61 lines
2.3 KiB
YAML
61 lines
2.3 KiB
YAML
groups:
|
|
- id: registry.gen_ai.deprecated
|
|
type: attribute_group
|
|
brief: Describes deprecated `gen_ai` attributes.
|
|
display_name: Deprecated GenAI Attributes
|
|
attributes:
|
|
- id: gen_ai.usage.prompt_tokens
|
|
type: int
|
|
stability: development
|
|
deprecated: Replaced by `gen_ai.usage.input_tokens` attribute.
|
|
brief: "Deprecated, use `gen_ai.usage.input_tokens` instead."
|
|
examples: [42]
|
|
- id: gen_ai.usage.completion_tokens
|
|
type: int
|
|
stability: development
|
|
deprecated: Replaced by `gen_ai.usage.output_tokens` attribute.
|
|
brief: "Deprecated, use `gen_ai.usage.output_tokens` instead."
|
|
examples: [42]
|
|
- id: gen_ai.prompt
|
|
type: string
|
|
stability: development
|
|
deprecated: "Removed, no replacement at this time."
|
|
brief: "Deprecated, use Event API to report prompt contents."
|
|
examples: ["[{'role': 'user', 'content': 'What is the capital of France?'}]"]
|
|
- id: gen_ai.completion
|
|
type: string
|
|
stability: development
|
|
deprecated: "Removed, no replacement at this time."
|
|
brief: "Deprecated, use Event API to report completions contents."
|
|
examples: ["[{'role': 'assistant', 'content': 'The capital of France is Paris.'}]"]
|
|
- id: registry.gen_ai.openai.deprecated
|
|
type: attribute_group
|
|
brief: Describes deprecated `gen_ai.openai` attributes.
|
|
display_name: Deprecated OpenAI GenAI Attributes
|
|
attributes:
|
|
- id: gen_ai.openai.request.seed
|
|
stability: development
|
|
type: int
|
|
deprecated: Replaced by `gen_ai.request.seed` attribute.
|
|
brief: "Deprecated, use `gen_ai.request.seed`."
|
|
examples: [100]
|
|
- id: gen_ai.openai.request.response_format
|
|
stability: development
|
|
type:
|
|
members:
|
|
- id: text
|
|
value: "text"
|
|
brief: 'Text response format'
|
|
stability: development
|
|
- id: json_object
|
|
value: "json_object"
|
|
brief: 'JSON object response format'
|
|
stability: development
|
|
- id: json_schema
|
|
value: "json_schema"
|
|
brief: 'JSON schema response format'
|
|
stability: development
|
|
brief: >
|
|
Deprecated, use `gen_ai.output.type`.
|
|
deprecated: "Replaced by `gen_ai.output.type`."
|