Flowise 可观测性与 tracing
Flowise(GitHub)是一款低代码构建器,让你通过拖拽编辑器构建自定义 LLM 流程。
通过原生集成,你可以用 Flowise 在低代码环境中快速构建复杂的 LLM 应用,再用 Litefuse 监控并改进它们。
集成支持 Flowise 的所有使用场景:UI 交互、API 和嵌入。
集成
获取 Litefuse API Key
- 在 cloud.litefuse.ai 上创建账号和项目
- 复制项目的 API Key
运行 Flowise
# install
npm install -g flowise
# start
npx flowise start接入 Litefuse
你可以可选地添加 release 来标记当前 flow 的版本。其他选项一般不用改。
Flowise 到 Litefuse 的字段映射
集成会自动把 Flowise 的以下字段映射到 Litefuse:
| Flowise | Litefuse | 所需版本 |
|---|---|---|
| chatId | sessionId | Flowise 1.4.10 |
Override Config
Flowise 允许你通过 overrideConfig 向 Litefuse API 传递额外参数。这可以用来把更多信息传给 Litefuse,比如用 userId 做用户级追踪。
关于 overrideConfig 的更多信息,见 Flowise Prediction API 文档。
{
"question": "hi there",
"overrideConfig": {
"analytics": {
"langFuse": {
"userId": "user1"
}
}
}
}这个页面对你有帮助吗?