OpenAI Integration
OpenAI text-embedding-3-small for all RAG vector embeddings (unified_rag_content), plus gpt-4o-mini as the chatbot LLM fallback when Claude is unavailable
OpenAI text-embedding-3-small for all RAG vector embeddings (unified_rag_content), plus gpt-4o-mini as the chatbot LLM fallback when Claude is unavailable
How RAG queries work — embedding the user query, pgvector cosine search against unified_rag_content, theological lens filtering, and injecting results into LLM context
Regenerate OpenAI text-embedding-3-small vectors for unified_rag_content rows — identify rows with null embeddings, run the embedding script, and verify RAG search improves