settings
module wittgenstein_pgvector_qsql.settings
Pydantic Settings for wittgenstein-pgvector-qsql.
Reads the same env var names as the original NLQ chat app (PGHOST, PGPORT, etc.) so an existing .env file works without adaptation.
Classes
wittgenstein_pgvector_qsql.settings.QSQLSettings
class QSQLSettings()
Bases : BaseSettings
Attributes
-
connection_string : str — psycopg3 URL for LangChain PGVector.
-
pg_dsn : str — psycopg2 DSN for SqlDedupRepository.
wittgenstein_pgvector_qsql.settings.QSQLSettings.connection_string
property QSQLSettings.connection_string: str
psycopg3 URL for LangChain PGVector.
wittgenstein_pgvector_qsql.settings.QSQLSettings.pg_dsn
property QSQLSettings.pg_dsn: str
psycopg2 DSN for SqlDedupRepository.