AgentOps-AI / AgentOps-AI/agentops

[Feature]: Create arbitrary log spans

オープン
#1,024 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
Python
スター
5.8k
フォーク
619
PR マージ指標
30日以内にマージされた PR はありません

説明

### 💡 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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。