Browse Source

upgrade pymilvus api

highing666 3 years ago
parent
commit
f6214997a2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/services/milvus.py
  2. 1 1
      pyproject.toml

+ 1 - 1
app/services/milvus.py

@@ -1,6 +1,6 @@
 from typing import List
 from loguru import logger
-from pymilvus_orm import connections, Collection, SearchResult
+from pymilvus import connections, Collection, SearchResult
 
 from app.core.config import settings
 

+ 1 - 1
pyproject.toml

@@ -10,7 +10,7 @@ python = "^3.8"
 Cython = "^0.29.24"
 pandas = "1.2.4"
 grpcio = "1.37.1"
-pymilvus-orm = "2.0.0rc4"
+pymilvus = "2.0.0rc5"
 fastapi = "^0.68.1"
 python-dotenv = "^0.19.0"
 uvicorn = "^0.13.4"