Find answers from the community

Updated last year

Arize Phoenix is not tracing queries to

Arize Phoenix is not tracing queries to a summary index in a jupyter notebook today.

Plain Text
import phoenix as px
from llama_index import set_global_handler
set_global_handler("arize_phoenix")
session = px.launch_app()


Plain Text
index = SummaryIndex.from_documents(documents, storage_context=storage_context, service_context=service_context)
query_engine = index.as_query_engine(text_qa_template=text_qa_template, refine_template=refine_template)
response = query_engine.query("")


No trace in phoenix.

LLama index 0.8.57 and Arize 0.0.51
s
1 comment
I may have resolved this. I think it might be because I was setting my global handler after creating a service context and storage context.
Add a reply
Sign up and join the conversation on Discord