Skip to main content

Recherche Hybride

Hybrid search combining vector and lexical search with RRF fusion. Offers a better balance between precision and recall.

Parameters

ParameterTypeRequiredVariableDescription
querydynamic valueYesYesText or question for combined vector + graph search.
vectorWeightnumberNoNoWeight of vector search in results (0 to 1). (Default: 0.7, min 0, max 1)
graphWeightnumberNoNoWeight of graph search in results (0 to 1). (Default: 0.3, min 0, max 1)
limitnumberNoNoMaximum number of results to return. (Default: 20, min 1, max 100)
includeNeighborsbooleanNoNoInclude neighbor entities in results for richer context. (Default: false)
entityTypeFilterarrayNoNoFilter results by entity types (e.g. Client, Project).
rerankbooleanNoNoRe-rank results with a reranking model for better relevance. (Default: false)
mmrbooleanNoNoEnable MMR diversification to avoid redundant results. (Default: false)
fusionAlgorithmchoice (average, max, rrf)NoNoScore fusion algorithm (average, max, or Reciprocal Rank Fusion).
outputVariabletextNoNoOutput variable name containing the search results.

Parameters marked Variable = Yes accept the {{blockName.field}} syntax.

Output

Output variable : hybridResults

// direct value (no wrapper object)

Example

Hybrid search across documents.

Input :

{"query": "reglementation Bale III"}

Output :

[{"id": "doc-1", "content": "Les exigences de fonds propres Bale III...", "score": 0.89}, {"id": "doc-2", "content": "...", "score": 0.74}]
Tip

{{hybridResults}} is directly an array (no wrapper object). Combines semantic precision with exact keyword matching.