{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring"}],"enrichment":{"capability":"Provides utility functions to convert typed annotation and evaluation objects into OpenInference span attributes, and context managers to attach session, user, metadata, and prompt template information to traced spans.","skillfed_tags":["observability","llm-tracing","opentelemetry"],"use_cases":["Attach LLM evaluation scores and hallucination labels to spans for post-hoc analysis of model outputs.","Track multi-turn conversations by wrapping code blocks with session and user context managers.","Log prompt templates with versions and variable bindings to spans for prompt management and debugging.","Add custom metadata and tags to traces for filtering and grouping related requests in observability platforms.","Standardize annotation attributes across multiple instrumentation points using the Annotation model."],"what_it_does":"OpenInference Instrumentation is a utility library that bridges typed annotation and evaluation objects into OpenTelemetry span attributes following the OpenInference specification. It provides helper functions to flatten Annotation objects (with fields like name, score, label, explanation, annotator_kind, and metadata) into span attributes at different scopes (span, trace, or session), and context managers to attach session IDs, user IDs, custom metadata, tags, and prompt template information to spans during execution.\n\nThe package is designed for teams instrumenting LLM applications and AI systems that need to attach structured evaluation results, annotations, and operational context to their traces. It depends on opentelemetry-api, opentelemetry-sdk, and openinference-semantic-conventions to ensure compatibility with standard observability tooling. The library handles JSON serialization of metadata and manages scope-specific prefixes automatically, reducing boilerplate in tracing code.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides a well-designed abstraction for a common need in LLM observability. Use it if you are already using OpenTelemetry and need to attach structured annotations or evaluation data to spans in a standardized way."},"id":"openinference-instrumentation","links":{"html":"https://skillfed.io/packages/openinference-instrumentation","md":"https://skillfed.io/packages/openinference-instrumentation.md","pypi":"https://pypi.org/project/openinference-instrumentation/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"openinference-instrumentation","python_support":"supports_current","summary":"OpenInference instrumentation utilities"},"popularity":{"monthly_downloads":8310434,"position":1636,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.57"}
