Skip to main content

3 docs tagged with "embeddings"

View all tags

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

RAG Query Flow

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 Vector Embeddings

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