AgentOps-AI / AgentOps-AI/agentops

[Feature]: Create arbitrary log spans

Aperta
#1,024 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue
Lingua principale
Python
Stelle
5.8k
Fork
619
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 💡 Feature Description and Proposed Solution

Langfuse has the functionality that lets users create log-style spans. They look something like this:
```
self.trace.event(name="xml_tool_call_limit_reached", level="DEFAULT", status_message=(
f"XML tool call limit reached - not yielding more content chunks"))
```

This is convenient for just showing where things might've gone wrong in a trace.

It would be great to have 2 functions:

* `agentops.log(...)`
* `agentops.error(...)`

### 🤔 Related Problem

_No response_

### 🤝 Contribution

- [ ] Yes, I'd be happy to submit a pull request with these changes.
- [ ] I need some guidance on how to contribute.
- [ ] I'd prefer the AgentOps team to handle this update.

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.