Find answers from the community

Updated 4 months ago

Langfuse tracing

At a glance

The post describes an issue where the community member tried to follow an article and encountered an AttributeError related to the global_handler.start_trace_params() function. In the comments, another community member suggests that the issue may be related to not running set_global_handler before importing or accessing global_handler. The community member provides a link to the relevant code in the Llama Index repository.

Useful resources
https://www.llamaindex.ai/blog/one-click-open-source-rag-observability-with-langfuse

tried to follow this article

Plain Text
    global_handler.start_trace_params(user_id=request.email_id, tags=[env.ENVIRONMENT, "support-bot"])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'start_trace_params'
Add a reply
Sign up and join the conversation on Discord