Optional enabledOptional initialInitial similarity threshold. Default: 0.7.
Optional minMinimum threshold to step down to. Default: 0.3.
Optional thresholdStep size for adaptive thresholding. Default: 0.1.
Optional adaptiveUse adaptive thresholding (step down when no results). Default: true.
Optional maxMax tokens for hypothesis generation. Default: 200.
Optional hypothesisCustom system prompt for hypothesis generation.
Optional fullUse full-answer granularity (recommended by research). Default: true.
Optional hypothesisNumber of diverse hypothetical documents to generate per query.
Multi-hypothesis HyDE generates N hypotheses from different perspectives (technical, practical/example, overview) and searches with each embedding. Results are deduplicated by chunk ID, keeping the highest score.
Higher values improve recall at the cost of additional LLM calls.
Default: 3.
Enable HyDE retrieval. Default: false.