I'm interested in using
AutoMergingRetriever
but I need it to function as a chat engine and to stream chat responses. My existing chat engine code is as follows:
chat_engine = index.as_chat_engine(
similarity_top_k=similarity_top_k,
node_postprocessors=node_postprocessors,
vector_store_kwargs={"qdrant_filters": filters})
I'm unsure how to integrate
AutoMergingRetriever
with the chat functionality. The documentation (
https://docs.llamaindex.ai/en/latest/examples/retrievers/auto_merging_retriever.html) suggests using
RetrieverQueryEngine
, but that would only provide me with a query engine. How can I get a chat engine?