--- id: opentelemetry-semantic-conventions-ai version: "0.5.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-semantic-conventions-ai — OpenTelemetry Semantic Conventions Extension for Large Language Models License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install opentelemetry-semantic-conventions-ai uv add opentelemetry-semantic-conventions-ai poetry add opentelemetry-semantic-conventions-ai ## Description # OpenTelemetry Semantic Conventions extensions for gen-AI applications This is an extension of the standard [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions) for gen AI applications. It defines additional attributes for spans that are useful for debugging and monitoring prompts, completions, token usage, etc. ## AI interpretation — verify before relying Defines OpenTelemetry semantic conventions and span attributes for monitoring and debugging generative AI applications, including prompt, completion, and token usage tracking. Verdict: A lightweight, actively maintained extension for OpenTelemetry that standardizes observability for gen-AI workloads. No known vulnerabilities, permissive licensing, and minimal dependencies make it a safe addition to observability stacks targeting LLM and AI applications. [View on SkillFed](https://skillfed.io/packages/opentelemetry-semantic-conventions-ai) · [View on PyPI](https://pypi.org/project/opentelemetry-semantic-conventions-ai/)