LangChain 把网关护栏和 trace 打通了,触发后直接看记录改配置,不用再翻日志。用 LangSmith 的可以试试。
LangSmith 平台的 LLM Gateway 护栏一旦触发,就会自动出现在 LangSmith 的 trace 记录中。用户可以在同一平台内执行并追踪支出限额、速率限制和敏感数据控制。打开对应 trace 即可查看触发详情,并据此调整策略。该功能把网关护栏与可观测性流程打通,省去跨工具排查。
🔍Tracing Controls with the LangSmith platform When a Langsmith LLM Gateway guardrail triggers, it ...
🔍Tracing Controls with the LangSmith platform When a Langsmith LLM Gateway guardrail triggers, it shows up in your LangSmith traces. Enforce and track spend limits, rate limits, and sensitive data controls in one platform. Then, open the trace to see what happened and make improvements. langchain.com/blog/langsmith… W 💬 1 🔄 0 ❤️ 7 👀 1211 📊 2 ⚡