getsentry / getsentry/sentry-python

Decide what to do with `@ai_track` decorator.

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

Descrizione

We have a decorator [@ai_track](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/ai/monitoring.py#L30) which creates spans with an `op` either `ai.run` or `ai.pipeline`.

With the new AI insights module and agentic coding the concept of a AI pipeline is maybe not as important anymore?

We need to make a decision if we want to deprecated `@ai_track` or if we want to change it to make it work with the AI insights in Sentry.

The only documentation of the decorator I could find is this blog post: https://blog.sentry.io/ai-application-insights-with-sentry-llm-monitoring/

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.