Skip to content

Move GenAI common utils into opentelemetry-instrumentation package #3191

Open
@aabmass

Description

So that they can be used across those packages. OpenAI, Cohere, and Vertex instrumentations need some common utils. See https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3081/files/#r1884751133

They will be available in the opentelemetry.instrumentation.gen_ai module.

Because GenAI packages are not released in lockstep with the rest of the repo, we will need to first release this change before updating those instrumentation packages to use it. See this comment #3188 (comment)

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgen-aiRelated to generative AI

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions