Elffuss BraidHub

kikocis/llama-stack public

main · 470 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7from llama_models.schema_utils import json_schema_type
8from pydantic import BaseModel, Field
9
10
11@json_schema_type
12class PGVectorConfig(BaseModel):
13 host: str = Field(default="localhost")
14 port: int = Field(default=5432)
15 db: str
16 user: str
17 password: str