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: experimental 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: experimental 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: experimental 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: experimental 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: experimental type: int deprecated: Replaced by `gen_ai.request.seed` attribute. brief: "Deprecated, use `gen_ai.request.seed`." examples: [100]