getsentry / getsentry/sentry-python

Make existing `cohere` integration work with Agents Insights

未关闭
#4,760 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
AI Insights Improvement Integration: Cohere Python Spans
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 1 小时
30 天内合并 PR
213

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。