Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
TopK
TopK
Inactive
0
Follow
r
richard1861
11 months ago
Β·
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
Share
Open in Discord
W
WhiteFang_Jr
11 months ago
You can configure this in the chat engine itself.
Plain Text
Copy
chat_engine = index.as_chat_engine(similarity_top_k=5)
B
Basil
11 months ago
what does this similarity_top_k=5 entail?
B
Basil
11 months ago
nvm read it online
B
Basil
11 months ago
got it
Add a reply
Sign up and join the conversation on Discord
Join on Discord