use config from main
This commit is contained in:
parent
502c1f00dc
commit
485f96b168
1 changed files with 30 additions and 12 deletions
42
config.yaml
42
config.yaml
|
|
@ -1,13 +1,31 @@
|
||||||
agent:
|
# OpenRAG Configuration File
|
||||||
llm_model: gpt-4o-mini
|
# This file allows you to configure OpenRAG settings.
|
||||||
system_prompt: You are a helpful AI assistant with access to a knowledge base. Answer
|
# Environment variables will override these settings unless edited is true.
|
||||||
questions based on the provided context.
|
|
||||||
edited: true
|
# Track if this config has been manually edited (prevents env var overrides)
|
||||||
knowledge:
|
edited: false
|
||||||
chunk_overlap: 200
|
|
||||||
chunk_size: 1000
|
# Model provider configuration
|
||||||
doclingPresets: standard
|
|
||||||
embedding_model: text-embedding-3-small
|
|
||||||
provider:
|
provider:
|
||||||
api_key: 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
|
# Supported providers: "openai", "anthropic", "azure", etc.
|
||||||
model_provider: openai
|
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."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue