Find answers from the community

Updated 6 months ago

How can I make a BasicChatEngine from

At a glance

The community member is asking how to create a BasicChatEngine from a retriever mentioned in the auto-retriever documentation. The comment suggests that the default modes of chat engines like CondensePlusContextChatEngine and SimpleChat handle the interaction with knowledge differently, with some containing a query_engine instance and others containing a retriever instance. The comment provides an example of how to create a CondensePlusContextChatEngine using the retriever.

Useful resources
How can I make a BasicChatEngine from the retriever from an auto-retriever mentioned here https://docs.llamaindex.ai/en/stable/examples/vector_stores/pinecone_auto_retriever/
W
1 comment
The default modes of chat engines like condense, simpleChat engine contain different ways to handle the interaction with knowledge.

some contain query_engine instance a dn some contain retriever instance.

So you'll have to look and make changes that way.
for example:
chat_engine = CondensePlusContextChatEngine.from_defaults(retriever=retriever,...)
Add a reply
Sign up and join the conversation on Discord