-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Parent run not found when using Callbacks with langchain EnsembleRetriever #1818
Comments
Thanks for sharing, do you use this retriever standalone or within a larger chain/agent? We designed the hadnler to work best when being passed to invoke/call/... methods which then also include the EnsembleRetriever. I'll try to look into solution on how to fix this issue though as this seems to be a very valid use case |
I use that as a standalone for my RAG pipeline. Rather than incorporating with Langchain, I built separated components and finally link them together. An additional note:
|
Thanks for confirming
This is expected, unless you pass a callback handler to the langchain pieces of your function as shown here: https://langfuse.com/docs/sdk/python/decorators#langchain |
Ah yes, I did pass Thanks for providing such a great tool and I look forward to the solution! |
👍 awesome, I was worried that the docs were not clear enough on how this works probably decorating a function that wraps the |
Merging this into #1927 to collect all instances of this error |
Describe the bug
When trying to pass Langfuse callbacks into EnsembleRetriever, Exception was raised.
To reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: