Open Kushagra0409 opened 8 months ago
Hey @Kushagra0409, great to see you back here! 🚀
Thank you for providing the detailed error traceback. The error you're encountering with the MilvusVectorStore
not working with the RecursiveRetriever
in LlamaIndex v0.10.12, resulting in an AttributeError
, is likely due to a compatibility or implementation issue between the MilvusVectorStore
class and the expected interface or methods required by the RecursiveRetriever
.
The AttributeError
typically indicates that RecursiveRetriever
is attempting to access a method or attribute that does not exist on MilvusVectorStore
. Here are some steps you can take to resolve this issue:
Check for Missing Methods or Attributes: Ensure that MilvusVectorStore
implements all methods and attributes expected by RecursiveRetriever
.
Update LlamaIndex and Dependencies: Ensure that you are using compatible versions of LlamaIndex and its dependencies. It's possible that the version of LlamaIndex you are using (v0.10.12) has known issues or incompatibilities that have been resolved in later versions.
Review LlamaIndex and Milvus Documentation: Check the documentation for both LlamaIndex and Milvus for any notes on compatibility or specific requirements for integrating Milvus as a vector store.
Inspect RecursiveRetriever Implementation: Look into the implementation of RecursiveRetriever
to understand what it expects from a vector store. This can give you clues on what might be missing or incorrectly implemented in MilvusVectorStore
.
Debugging and Logging: Add logging around the point where the AttributeError
occurs to get more insight into what is missing or going wrong. This can help pinpoint the exact attribute or method that is causing the issue.
Unfortunately, without specific details on the AttributeError
(e.g., the missing attribute or method name), these general steps are the best approach to diagnosing and resolving the issue. If you could provide more details about the error, it would be easier to provide a more specific solution.
Regarding your question about changes made to the LlamaIndex codebase between version 0.10.12 and the latest version 0.10.19, I'm unable to provide a detailed answer as I don't have access to the specific changes made between these versions. However, it's always a good idea to update to the latest version as it may contain bug fixes and improvements that could potentially resolve your issue.
I hope this helps! If you have any more questions or need further clarification, feel free to ask.
Seems like a bug with metadatafilters
Bug Description
In the DensexRetriver pack, I added a code to use milvus vector db, (I tried with elastic search too, it works fine with the existing dense-x code). However, upon querying, I get the following error:
Note that upon changing the recursiveRetriever with simple vector_index.as_retriever, the Milvus vector db works fine. Is this a bug that milvus vector db is facing with recursive retriever, and are there any workarounds to fix this error? Please guide me to the documentations if so.
Version
0.10.12
Steps to Reproduce
Relevant Logs/Tracbacks
No response