You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should work, see this example. Because LangServe uses uvicorn you need to initialize Traceloop in the same file as the chain itself, and not in the server.py file - as they "live" in separate python contexts
Which component is this bug for?
Langchain Instrumentation
馃摐 Description
The ChromaDB instrumentation worked for me when using the provided sample app. However, when using a Langchain RAG implementation with ChromaDB, here: https://github.com/langchain-ai/langchain/tree/master/templates/rag-chroma
I did not work for me.
馃憻 Reproduction steps
Download the Langchain ChromaDB RAG template: https://github.com/langchain-ai/langchain/tree/master/templates/rag-chroma
Modify chain.py to enable Traceloop. (import and Traceloop.init).
馃憤 Expected behavior
Expected to see the spans in the web GUI
馃憥 Actual Behavior with Screenshots
Did not see the spans.
馃 Python Version
3.11
馃搩 Provide any additional context for the Bug.
No response
馃憖 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: