-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Open
Labels
bugSomething isn't workingSomething isn't workingtriageIssue needs to be triaged/prioritizedIssue needs to be triaged/prioritized
Description
Bug Description
Pymilvus 2.6.4 breaks AsyncMilvusClient in MilvusVectorStore, while downgrading pymilvus from 2.6.4 to 2.6.3 fixes the error. Probably related to pymilvus #3096?
Version
llama-index 0.14.8, llama-index-vector-stores-milvus 0.9.4, pymilvus 2.6.4
Steps to Reproduce
Install pymilvus 2.6.4 and use llama index to create a MilvusVectorStore instance:
from llama_index.vector_stores.milvus import MilvusVectorStore
vdb = MilvusVectorStore(uri=..., collection_name=..., dim=...)Results in:
RuntimeError: no running event loop
Meanwhile, downgrading pymilvus from 2.6.4 to 2.6.3 fixes the error.
Relevant Logs/Tracbacks
File "/usr/local/python3/lib/python3.11/site-packages/llama_index/vector_stores/milvus/base.py", line 325, in __init__
self._async_milvusclient = AsyncMilvusClient(
File "/usr/local/python3/lib/python3.11/site-packages/pymilvus/milvus_client/async_milvus_client.py", line 42, in __init__
self._using = create_connection(
File "/usr/local/python3/lib/python3.11/site-packages/pymilvus/milvus_client/_utils.py", line 41, in create_connection
loop = asyncio.get_running_loop()
RuntimeError: no running event loopMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssue needs to be triaged/prioritizedIssue needs to be triaged/prioritized