opentelemetry-python-contrib/util/opentelemetry-util-genai
Aaron Abbott cf00cf57b6
Rename UploadHook -> CompletionHook (#3780)
2025-09-24 15:29:39 -04:00
..
src/opentelemetry/util/genai Rename UploadHook -> CompletionHook (#3780) 2025-09-24 15:29:39 -04:00
tests Rename UploadHook -> CompletionHook (#3780) 2025-09-24 15:29:39 -04:00
CHANGELOG.md Rename UploadHook -> CompletionHook (#3780) 2025-09-24 15:29:39 -04:00
LICENSE GenAI Utils Structure (#3672) 2025-08-14 22:33:26 -04:00
README.rst Exclude opentelemetry-util-genai from release upload (#3747) 2025-09-11 13:35:07 +02:00
pyproject.toml Rename UploadHook -> CompletionHook (#3780) 2025-09-24 15:29:39 -04:00
test-requirements.txt Add `fsspec` gen ai upload hook (#3759) 2025-09-17 13:44:44 -04:00

README.rst

OpenTelemetry Util for GenAI
============================


The GenAI Utils package will include boilerplate and helpers to standardize instrumentation for Generative AI. 
This package will provide APIs and decorators to minimize the work needed to instrument genai libraries, 
while providing standardization for generating both types of otel, "spans and metrics" and "spans, metrics and events"

Installation
------------

::

    pip install opentelemetry-util-genai


Design Document
---------------

The design document for the OpenTelemetry GenAI Utils can be found at: `Design Document <https://docs.google.com/document/d/1w9TbtKjuRX_wymS8DRSwPA03_VhrGlyx65hHAdNik1E/edit?tab=t.qneb4vabc1wc#heading=h.kh4j6stirken>`_

References
----------

* `OpenTelemetry Project <https://opentelemetry.io/>`_