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 2 months ago
0
Follow
TopK
TopK
Inactive
0
Follow
r
richard1861
10 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
10 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
10 months ago
what does this similarity_top_k=5 entail?
B
Basil
10 months ago
nvm read it online
B
Basil
10 months ago
got it
Add a reply
Sign up and join the conversation on Discord
Join on Discord