Find answers from the community

Updated 2 months ago

Hello I have a question about

Hello! I have a question about VectorIndexRetriever . When I try to set the vector_store_query_mode to VectorStoreQueryMode.TEXT_SEARCH I get the following error: Invalid query mode: VectorStoreQueryMode.TEXT_SEARCH

Looking through the code, I don't see how you could ever use that query mode as it seems to only accept learning modes, MMR, and default? https://github.com/jerryjliu/llama_index/blob/main/llama_index/vector_stores/simple.py#L228
L
P
2 comments
Query modes are used across every vector store. Its up to each vector store to support different modes
ohhh duh. ok thanks!
Add a reply
Sign up and join the conversation on Discord