getsentry / getsentry/sentry-python

Make existing `cohere` integration work with Agents Insights

Aperta
#4,760 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
AI Insights Improvement Integration: Cohere Python Spans
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 1h
PR unite (30g)
213

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.