gen_ai.prompt.variables
DevelopmentGenAI registryanyas of v1.45.0
Variables passed to the prompt template.
> [!WARNING] > This attribute may contain sensitive information.
Prompt templates are parameterized with variables that are filled in at runtime. This attribute records the map of variable names to their values passed to the template.
Examples
- { "user_name": "Alice", "language": "French" }
Used by
events (1)
- gen_ai.client.inference.operation.details (opt-in)
spans (3)
- gen_ai.client.inference (opt-in)
- mcp.client (opt-in)
- mcp.server (opt-in)
* required on that signal.