Turn on and off langfuse callaback in langchain
How can I turn on and off Langfuse Callaback and tracing based on true and false flag?
1 Reply
Hi @Ritesh Yadav , you can use
handler = CallbackHandler(enabled=False)
to ignore inputs. Here is an example: https://github.com/orgs/langfuse/discussions/2718#discussioncomment-10125236GitHub
How to ignore inputs when using LangChain? · langfuse · Discussion ...
Hi, is it possible to ignore inputs when using the langfuse_handler as a callback with using LangChain? I would like to ignore inputs when using a vision model as it often causes httpx.ReadTimeout ...