refactor: Formatting change for create_vector_engine
Change formatting for connection string for PGVectorAdapter Refactor #COG-170
This commit is contained in:
parent
7f7b015ea3
commit
d2772d22b8
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def create_vector_engine(config: VectorConfig, embedding_engine):
|
||||||
|
|
||||||
connection_string: str = (
|
connection_string: str = (
|
||||||
f"postgresql+asyncpg://{db_username}:{db_password}@{db_host}:{db_port}/{db_name}"
|
f"postgresql+asyncpg://{db_username}:{db_password}@{db_host}:{db_port}/{db_name}"
|
||||||
)
|
)
|
||||||
|
|
||||||
return PGVectorAdapter(connection_string,
|
return PGVectorAdapter(connection_string,
|
||||||
config["vector_db_key"],
|
config["vector_db_key"],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue