getsentry / getsentry/sentry-python

Make existing `cohere` integration work with Agents Insights

Open
#4,760 1 comment 0 reactions 0 assignees View on GitHub
AI Insights Improvement Integration: Cohere Python Spans
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

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 ](https://develop.sentry.dev/sdk/telemetry/traces/modules/ai-agents/)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](https://getsentry.github.io/sentry-conventions/generated/attributes/gen_ai.html).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.