# Query Engine Configuration Fragment
# Used by: kogral-config form

[[elements]]
border_top = true
border_bottom = false
name = "query_section_header"
title = "📊 Query Engine"
type = "section_header"

[[elements]]
default = 0.4
help = "Minimum similarity score for semantic matches (0-1)"
max = 1.0
min = 0.0
name = "query_similarity_threshold"
nickel_path = ["query", "similarity_threshold"]
prompt = "Similarity Threshold"
step = 0.05
type = "number"

[[elements]]
default = 10
help = "Maximum results returned per query"
max = 100
min = 1
name = "query_max_results"
nickel_path = ["query", "max_results"]
prompt = "Max Results"
type = "number"

[[elements]]
default = 3.0
help = "Weight factor for recency scoring (higher = favor recent results)"
max = 10.0
min = 0.0
name = "query_recency_weight"
nickel_path = ["query", "recency_weight"]
prompt = "Recency Weight"
step = 0.5
type = "number"

[[elements]]
default = true
help = "Enable queries across multiple graphs (shared + project)"
name = "query_cross_graph"
nickel_path = ["query", "cross_graph"]
prompt = "Enable Cross-Graph Queries"
type = "boolean"
