feat: 连接milvus数据库的用户名和密码

This commit is contained in:
martsforever
2025-09-07 13:40:46 +08:00
parent de360da4d3
commit 31993219f3
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ class Settings(BaseSettings):
milvus_uri: str = Field(..., env="MILVUS_URI")
milvus_collection: str = Field(..., env="MILVUS_COLLECTION")
milvus_database: str = Field(..., env="MILVUS_DATABASE")
milvus_username: str = Field(..., env="MILVUS_USERNAME")
milvus_password: str = Field(..., env="MILVUS_PASSWORD")
milvus_dimension: str = Field(..., env="MILVUS_DIMENSION")
llm_key_local: str = Field(..., env="LLM_KEY_LOCAL")