# RAG Document Ingestion Configuration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "rag_ingestion_header"
title = "📄 Document Ingestion Configuration"
type = "section_header"

[[elements]]
default = true
help = "Auto-ingest documents on startup"
name = "rag_ingestion_auto_ingest"
nickel_path = ["rag", "ingestion", "auto_ingest"]
prompt = "Auto-ingest"
type = "confirm"

[[elements]]
default = false
help = "Watch for file changes and auto-ingest"
name = "rag_ingestion_watch_files"
nickel_path = ["rag", "ingestion", "watch_files"]
prompt = "Watch Files"
type = "confirm"

[[elements]]
default = 512
help = "Document chunk size in characters"
max = 4096
min = 128
name = "rag_ingestion_chunk_size"
nickel_path = ["rag", "ingestion", "chunk_size"]
prompt = "Chunk Size"
type = "number"

[[elements]]
default = 50
help = "Overlap between chunks in characters"
max = 1000
min = 0
name = "rag_ingestion_overlap"
nickel_path = ["rag", "ingestion", "overlap"]
prompt = "Chunk Overlap"
type = "number"

[[elements]]
default = "md, txt, toml"
help = "Supported document types (comma-separated)"
name = "rag_ingestion_doc_types"
nickel_path = ["rag", "ingestion", "doc_types"]
prompt = "Document Types"
type = "text"
