# RAG Retrieval Configuration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "rag_retrieval_header"
title = "🔍 Retrieval Configuration"
type = "section_header"

[[elements]]
default = 5
help = "Number of top results to return"
max = 100
min = 1
name = "rag_retrieval_top_k"
nickel_path = ["rag", "retrieval", "top_k"]
prompt = "Top K Results"
type = "number"

[[elements]]
default = 0.75
help = "Minimum similarity threshold (0.0-1.0)"
max = 1.0
min = 0.0
name = "rag_retrieval_similarity_threshold"
nickel_path = ["rag", "retrieval", "similarity_threshold"]
prompt = "Similarity Threshold"
type = "number"

[[elements]]
default = false
help = "Enable re-ranking of results"
name = "rag_retrieval_reranking"
nickel_path = ["rag", "retrieval", "reranking"]
prompt = "Enable Re-ranking"
type = "confirm"

[[elements]]
default = false
help = "Enable hybrid search (keyword + semantic)"
name = "rag_retrieval_hybrid"
nickel_path = ["rag", "retrieval", "hybrid"]
prompt = "Enable Hybrid Search"
type = "confirm"
