-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add config support for hiding inputs and outputs (#378)
Currently it's not possible to specify these options for specific invocations. This will allow better customization. Please let me know your thoughts. Example Usage: ``` import { Client } from "langsmith"; import { LangChainTracer } from "@langchain/core/tracers/tracer_langchain"; import { ChatOpenAI } from "@langchain/openai"; const callbacks = [ new LangChainTracer({ projectName: process.env.LANGCHAIN_PROJECT, client: new Client({ hideInputs: false, hideOutputs: true, }), }), ]; const llm = new ChatOpenAI({}); await llm.invoke("Hello, world!", { callbacks }); Co-authored-by: William FH <[email protected]>
- Loading branch information
Showing
1 changed file
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters