Find answers from the community

Updated 3 months ago

TopK

Hello, is it possible to use define something like similarity_top_k=3, for the Chat Engine? I want to use the ChatMode but i am not sure how to control how many nodes to retrieve in each call
W
B
4 comments
You can configure this in the chat engine itself.

Plain Text
chat_engine = index.as_chat_engine(similarity_top_k=5)
what does this similarity_top_k=5 entail?
nvm read it online
Add a reply
Sign up and join the conversation on Discord