Hi, I am trying to run this notebook:
https://github.com/run-llama/llama_index/blob/main/docs/examples/query_engine/multi_doc_auto_retrieval/multi_doc_auto_retrieval.ipynbIt gives me a
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
when I tried to replace the Weaviate Vector Store with the local Vector Store.
What I did is replacing:
vector_store = WeaviateVectorStore(
weaviate_client=client, index_name=class_name
)
storage_context = StorageContext.from_defaults(vector_store=vector_store)
vector_store = WeaviateVectorStore(
weaviate_client=client, index_name=doc_class_name
)
storage_context = StorageContext.from_defaults(vector_store=vector_store)
doc_index = VectorStoreIndex.from_documents(
docs, storage_context=storage_context
)
With the following:
index = VectorStoreIndex.from_documents(new_docs)
doc_index = VectorStoreIndex.from_documents(docs)