Open kolaente opened 1 week ago
If the retrieval step returns zero documents, it will return empty response yes
That being said, this shouldn't be an issue for most chat engines like the context chat engines, or agents.
Is there a way to configure or disable this?
I'm using the context chat engine.
Bug Description
Asking the model a question where no answer matches turns up content from the document store returns simply "Empty Response" when no document nodes were returned through the retrieval engine. This is not a retrieval error, I actually want to get the "raw" model response in that case. The index does have documents, I just want to get the raw model response when no documents were found. The bug seems to happen with streaming or non-streaming responses.
The other issues around this topic seem to happen only with other llms, I'm using openai:
Version
0.11.21
Steps to Reproduce
chat_engine.chat()
I'll add a minimal code example later.
Relevant Logs/Tracbacks
No response