LangSmith 推出三项新控制功能,支持控制 trace 输入输出的可见性、通过用户组管理团队权限以及利用 metadata 设置 trace 级访问策略。作者建议默认记录所有 trace 但限制输入输出访问,仅在处理具体客户投诉且获得许可时,才向少数工程师开放特定 bad traces 的详细数据。
trace data contains a ton of valuable insights to mine, but also a lot of sensitive data you need to manage carefully
these three new controls stack up nicely to enable responsible trace governance:
- by default, trace everything to langsmith, but restrict access to inputs/ouputs. this lets people see number of calls, tools getting invoked, etc; but restricts any sensitive info
- when a customer complains, get their permission and enable a small set of engineers to see inputs/outputs for their bad traces
sounds simple/basic/boring, but security and governance is really important to get right for data like traces which can contain sensitive info!
We’re adding 3 new controls in LangSmith to help your team manage sensitive trace data. 1️⃣ Control who can see trace inputs and outputs 2️⃣ Manage team-by-team permissions with user groups 3️⃣ Set trace-level access policies using metadata https://t.co/sdSTPLg323在 X 查看被引用的帖子
来源:Harrison Chase · x.com