This commit is contained in:
Xi Yan 2024-11-04 20:44:06 -08:00
parent a42943c25b
commit adf5eeafb6
4 changed files with 68 additions and 13 deletions

View file

@ -12,6 +12,6 @@ from pydantic import BaseModel, Field
class PGVectorConfig(BaseModel):
host: str = Field(default="localhost")
port: int = Field(default=5432)
db: str
user: str
password: str
db: str = Field(default="postgres_db")
user: str = Field(default="postgres_user")
password: str = Field(default="postgres_password")