mirror of
https://github.com/langchain-ai/langsmith-sdk-christopher.git
synced 2026-07-19 12:24:38 -04:00
9b224db58f
This lets you scope hide inputs/outputs to a client. It also lets you add custom filters (rather than just masking everything. You could then use this in the traceable decorator or langchain tracer to filter runs within a given trace. It would _not_ facilitate filtering on a span level though, since it only sees the inputs/outputs and the client is shared within a trace. Alternatives could include a single function (filter_run) that takes in a Run object, though then we'd have to re-construct the run within the client, which is a bit annoying