Bug Description
I Use MultiModalVectorIndexRetriever, and when it runs, this error happend:
AttributeError: 'MultiModalVectorIndexRetriever' object has no attribute 'object_map'
Version
main
Steps to Reproduce
the code like the following
index = MultiModalVectorStoreIndex.from_documents(image_documents,storage_context=storage_context)
retriever_engine = index.as_retriever( similarity_top_k=5, image_similarity_top_k=3 )
query_str = "....."
retrieval_results = retriever_engine.retrieve(query_str)
###the probable reseaon
MultiModalVectorStoreIndex class init method don't call super().init, I add it, the error disappered
Relevant Logs/Tracebacks
Bug Description
I Use MultiModalVectorIndexRetriever, and when it runs, this error happend:
AttributeError: 'MultiModalVectorIndexRetriever' object has no attribute 'object_map'
Version
main
Steps to Reproduce
the code like the following
index = MultiModalVectorStoreIndex.from_documents(image_documents,storage_context=storage_context)
retriever_engine = index.as_retriever( similarity_top_k=5, image_similarity_top_k=3 )
query_str = "....."
retrieval_results = retriever_engine.retrieve(query_str)
###the probable reseaon
MultiModalVectorStoreIndex class init method don't call super().init, I add it, the error disappered
Relevant Logs/Tracebacks