getsentry/sentry-python

Make existing `cohere` integration work with Agents Insights

Opened this issue · 1 comments

Make our existing cohere integration compatible with the new AI Agents insights module.

All spans created by the integrations should should create all spans applicable form the AI Insights documentation.

All spans must have the correct span.op, span.name/span.description and span.data/span.attributes set.

This makes our SDK and data compatible with v1.36.0 of the Semantic conventions for generative AI systems of OpenTelementry.

There are some cases where our AI Insights documentation diverges from Otels semantic conventions. Details for those attributes can be found in the Sentry conventions.