feat: Add db_name field to MilvusDBConfig and MilvusDB initialization (#3229)

This commit is contained in:
Vimpas
2025-08-05 11:16:34 -07:00
committed by GitHub
parent 7fac6311f4
commit 7a0dc7391e
4 changed files with 7 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ class MilvusDBConfig(BaseModel):
collection_name: str = Field("mem0", description="Name of the collection")
embedding_model_dims: int = Field(1536, description="Dimensions of the embedding model")
metric_type: str = Field("L2", description="Metric type for similarity search")
db_name: str = Field("", description="Name of the database")
@model_validator(mode="before")
@classmethod