Database & RAG
PostgreSQL + pgvector layer of the FCA support agent. Each sub-page is verbatim from full_project_context_updated.txt:
- SQLAlchemy Async Pooling — environment-aware
NullPoolvspool_sizeengine - Alembic Migrations (Sync/Async Bridge) — sync alembic
env.pycalling asyncrun_async_migrations()withAsyncSessionLocal - pgvector RAG Ingestion —
CREATE EXTENSION vectorthen load-and-embed PDF chunks - RAGService
ingest_pdfEnd-to-End — PDF → chunks → embeddings → pgvector upsert, withtqdmprogress
Last updated on