浏览代码

upgrade pymilvus api

highing666 3 年之前
父节点
当前提交
f6214997a2
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 typing import List
 from loguru import logger
 from loguru import logger
-from pymilvus_orm import connections, Collection, SearchResult
+from pymilvus import connections, Collection, SearchResult
 
 
 from app.core.config import settings
 from app.core.config import settings
 
 

+ 1 - 1
pyproject.toml

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