getsentry / getsentry/sentry-python

Make existing `cohere` integration work with Agents Insights

Ouverte
#4,760 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
AI Insights Improvement Integration: Cohere Python Spans
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
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).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.