· 13 min read
RAG in production: a pragmatic architecture with pgvector, Claude and Symfony
Architecture, Symfony code, PostgreSQL schema and real costs to run a RAG in production. pgvector 0.8, Claude 4.5 Sonnet, OpenAI text-embedding-3-large embeddings, Cohere reranking.