Troubleshooting Arize Phoenix with RAG System and Llama-Index
Hello Arize team! I am trying to your phoenix for the first time for observability of our RAG system. Our RAG system is based on llama-index and we're using Milvus Vector Database. I tried setting arize phoenix as the global handler using:
llama_index.set_global_handler("arize_phoenix")but this doesn't show any traces on the launched phoenix app. I also tried using the callback manager as follows:
from llama_index.callbacks import CallbackManager
from phoenix.trace.llama_index import OpenInferenceTraceCallbackHandler
service_context = ServiceContext.from_defaults(
embed_model=embed_model,
llm = llm,
callback_manager=CallbackManager([callback_handler])
)but this also doesn't show any traces on the phoenix app. I am not sure if I am missing something or what's going wrong. Can you please help me with this?
