# AI Service RAG Integration Fragment

[[elements]]
border_bottom = false
border_top = true
name = "ai_rag_header"
title = "🧠 RAG Integration"
type = "section_header"

[[elements]]
default = true
help = "Enable RAG integration"
name = "ai_rag_enabled"
nickel_path = ["ai_service", "rag", "enabled"]
prompt = "Enable RAG"
type = "confirm"

[[elements]]
condition = "ai_rag_enabled == true"
default = "http://localhost:8083"
help = "RAG service URL"
name = "ai_rag_service_url"
nickel_path = ["ai_service", "rag", "rag_service_url"]
prompt = "RAG Service URL"
required = true
type = "text"

[[elements]]
condition = "ai_rag_enabled == true"
default = 30000
help = "RAG request timeout in milliseconds"
max = 300000
min = 1000
name = "ai_rag_timeout"
nickel_path = ["ai_service", "rag", "timeout"]
prompt = "Timeout (ms)"
type = "number"
