LLMonitor
LLMonitor is an open-source observability platform that provides cost and usage analytics, user tracking, tracing and evaluation tools.
安装与设置
在llmonitor.com上创建一个帐户,然后复制新应用的tracking id。
一旦你拥有了它,可以通过运行以下命令将其设置为环境变量:
export LLMONITOR_APP_ID="..."
回调
查看一个 使用示例。
from langchain.callbacks import LLMonitorCallbackHandler
API 参考:LLMonitorCallbackHandler