OptionalbasedWhat to base the refinement on
OptionalllmLanguage Model to use for query refinement
OptionalmaxMaximum number of queries to generate
OptionalincludeWhether to include the refined queries in the final results
OptionalcustomCustom prompt for query refinement
OptionaltemperatureTemperature for the LLM (0.0 to 1.0)
OptionalretryRetry configuration for LLM calls
OptionalmaxRetries?: numberMaximum number of retries
OptionalbaseDelay?: numberBase delay between retries in ms
OptionaluseWhether to use simulation instead of actual LLM (for development/testing)
Options for the query refinement step