Fix docs and config for vector store

This commit is contained in:
Dev-Khant
2024-08-04 21:10:51 +05:30
parent b6cfd960d1
commit b10ec8c34a
3 changed files with 9 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ class ChromaDbConfig(BaseModel):
client: Optional[Client] = Field(None, description="Existing ChromaDB client instance")
path: Optional[str] = Field(None, description="Path to the database directory")
host: Optional[str] = Field(None, description="Database connection remote host")
port: Optional[str] = Field(None, description="Database connection remote port")
port: Optional[int] = Field(None, description="Database connection remote port")
@model_validator(mode="before")
def check_host_port_or_path(cls, values):