31 lines
1 KiB
YAML
31 lines
1 KiB
YAML
# OpenRAG Configuration File
|
|
# This file allows you to configure OpenRAG settings.
|
|
# Environment variables will override these settings unless edited is true.
|
|
|
|
# Track if this config has been manually edited (prevents env var overrides)
|
|
edited: false
|
|
|
|
# Model provider configuration
|
|
provider:
|
|
# Supported providers: "openai", "anthropic", "azure", etc.
|
|
model_provider: "openai"
|
|
# API key for the model provider (can also be set via OPENAI_API_KEY env var)
|
|
api_key: ""
|
|
|
|
# Knowledge base and document processing configuration
|
|
knowledge:
|
|
# Embedding model for vector search
|
|
embedding_model: "text-embedding-3-small"
|
|
# Text chunk size for document processing
|
|
chunk_size: 1000
|
|
# Overlap between chunks
|
|
chunk_overlap: 200
|
|
# Docling preset setting
|
|
doclingPresets: standard
|
|
|
|
# AI agent configuration
|
|
agent:
|
|
# Language model for the chat agent
|
|
llm_model: "gpt-4o-mini"
|
|
# System prompt for the agent
|
|
system_prompt: "You are a helpful AI assistant with access to a knowledge base. Answer questions based on the provided context."
|