Troubleshooting LangChain App Evaluation Issues with Phoenix
Hi there, I followed this tutorial , trying to trace and evaluate my own app(langChain based), I can see the tracing(input,output) from UI. But, the get_qa_with_reference() and get_retrieved_documents() doesn't get result, so no evaluation results. Any ideas? Thanks!
session = px.launch_app()
LangChainInstrumentor().instrument()
for question in self.question_pool:
self.chat_app.get_answer(question)
queries_df = get_qa_with_reference(px.Client())
retrieved_documents_df = get_retrieved_documents(px.Client())
print(f"queries_df: {queries_df}")
print(f" retrieved_documents_df: {retrieved_documents_df}")