mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
QueryEngineTool returns "empty response" once workflow is deployed on llama-deploy #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tituslhy on GitHub (Sep 10, 2024).
I've tested my code on the following levels:
deploy_core.py
deploy_workflow.py
Testing code on a Jupyter Notebook:
The output I got in my terminal was:
Not too sure why this is happening. I'm using ChromaDB as my vector database to do this.
@logan-markewich commented on GitHub (Sep 11, 2024):
@tituslhy Might need more details to replicate this? What is
MultiAgentSystem? Is there some minimum workflow that replicates this?@logan-markewich commented on GitHub (Sep 11, 2024):
Empty response from a query engine really only happens when zero results are retrieved. Perhaps it's not loading your existing chroma collection properly?
@tituslhy commented on GitHub (Sep 12, 2024):
Oh sorry. MultiAgentSystem is just the name of the workflow. Here's a minimally reproducible example:
This all works. When I use the query engine to query, or chat with the agent or run the task via workflow - I get the correct results. It's only once I deployed the workflow to llama-deploy that my RAG tool starts returning me empty responses for the exact same question - actually for any question.
@tituslhy commented on GitHub (Sep 15, 2024):
I think this might be a ChromaDB problem. I changed the vector database to Qdrant and it immediately worked ok. Closing the issue.