Wire the guarded conversational RAG answer layer end-to-end
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pathlib import Path
|
||||
|
||||
from adapters.postgres import PostgresTraceRepository
|
||||
from config import get_settings
|
||||
|
||||
|
||||
def main() -> None:
|
||||
migration = Path(__file__).parent / "migrations/001_rag_retrieval_trace.sql"
|
||||
PostgresTraceRepository(get_settings().postgres_dsn).migrate(migration)
|
||||
print(f"Applied {migration.name}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user