context-ai / configs /compute_rag_vector_index_openai_contextual.yaml
chinmayjha's picture
Improve RAG agent response quality and UX
150cd80 unverified
# RAG Configuration for Conversation Data (Agent UI)
# This config matches the settings used to create rag_conversations collection
parameters:
extract_collection_name: test_conversation_documents
fetch_limit: 0
load_collection_name: rag_conversations # Query conversation data
content_quality_score_threshold: 0.0
retriever_type: contextual # Hybrid vector + full-text search
embedding_model_id: text-embedding-3-small # Must match offline pipeline
embedding_model_type: openai
embedding_model_dim: 1536
chunk_size: 640 # Match offline pipeline
contextual_summarization_type: contextual
contextual_agent_model_id: gpt-4o-mini
contextual_agent_max_characters: 200
mock: false
processing_batch_size: 5
processing_max_workers: 4
device: mps