You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RPC error: [describe_index], <AmbiguousIndexName: (code=1, message=There are multiple indexes, please specify the index_name.)>, <Time:{'RPC start': '2024-09-24 09:29:48.706720', 'RPC error': '2024-09-24 09:29:48.707154'}>
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/llama_index/vector_stores/milvus/base.py", line 306, in __init__
self._create_index_if_required()
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/llama_index/vector_stores/milvus/base.py", line 790, in _create_index_if_required
self._create_dense_index()
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/llama_index/vector_stores/milvus/base.py", line 801, in _create_dense_index
index_exists = self._collection.has_index()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/orm/collection.py", line 1451, in has_index
conn.describe_index(self._name, index_name, timeout=timeout, **copy_kwargs) is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/decorators.py", line 148, in handler
raise e from e
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/decorators.py", line 144, in handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/decorators.py", line 183, in handler
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/decorators.py", line 123, in handler
raise e from e
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/decorators.py", line 87, in handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/pc087/miniconda3/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py", line 1063, in describe_index
raise AmbiguousIndexName(message=ExceptionsMessage.AmbiguousIndexName)
pymilvus.exceptions.AmbiguousIndexName: <AmbiguousIndexName: (code=1, message=There are multiple indexes, please specify the index_name.)>
>>>
What's wrong with it ?
How to create local vectorStore ?
Expected Behavior
I want to create a milvus_demo.db locally.
Steps/Code To Reproduce behavior
from llama_index.core import VectorStoreIndex, StorageContext
from llama_index.vector_stores.milvus import MilvusVectorStore
vector_store = MilvusVectorStore(
uri="./milvus_demo.db", dim=1536, overwrite=True
)
Environment details
- macOS M2 14.3
- pip install pymilvus ( 2.4.6 )
Anything else?
I try to connect localhost:19530 and successed。
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
I try to create local vectorStore following https://milvus.io/docs/zh/integrate_with_llamaindex.md
But got error :
What's wrong with it ?
How to create local vectorStore ?
Expected Behavior
I want to create a milvus_demo.db locally.
Steps/Code To Reproduce behavior
Environment details
Anything else?
I try to connect
localhost:19530
and successed。The text was updated successfully, but these errors were encountered: