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
Why do i get different chunks returned when asking the same question over and over again?
Why do i get different chunks returned when asking the same question over and over again?
Inactive
0
Follow
H
Harrison
2 months ago
Β·
Hi
Quick question
Why do I get different chunks returned when asking the same question over and over again?
L
H
6 comments
Share
Open in Discord
L
Logan M
2 months ago
Are you using a chat engine or agent? What vector store are you using?
H
Harrison
2 months ago
possible neither π just the original - index = GPTVectorStoreIndex.from_vector_store(vector_store=vector_store)
query_engine = index.as_query_engine(similarity_top_k=s_topk)
Using chromadb as the vector store
L
Logan M
2 months ago
hmm, I know chroma has a very weird retrieval algorithm. Its approximate, so its definitely possible it changes slightly if you've indexed very similar chunks
H
Harrison
2 months ago
Thank you - what is a good alternative which is more "precise"
L
Logan M
2 months ago
anything using HNSW will be approximate. Other dbs have options for exact match methods like IVF etc.
Tbh though I see the most issues about wonky retrieval from chroma, but never any other vector db
L
Logan M
2 months ago
So probably anything else
Add a reply
Sign up and join the conversation on Discord
Join on Discord