Skip to main content

Recherche Documentation

Hybrid search in the knowledge library combining vector, lexical, and graph search. More comprehensive than pure semantic search.

Parameters

ParameterTypeRequiredVariableDescription
querydynamic valueYesYesSearch text for the knowledge base.
limitnumberNoNoMaximum number of documents to return (1 to 50). (Default: 10, min 1, max 50)
tagsarrayNoNoFilter documents by tags (e.g. finance, legal).
fileTypesarrayNoNoFilter by file types (pdf, docx, md, txt, html).
categorytextNoNoFilter documents by category.
outputVariabletextNoNoOutput variable name containing the found documents.

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

Output

Output variable : docResults

{
"results": [],
"count": 0
}

Example

Search internal documentation.

Input :

{"query": "procedure de validation fournisseur"}

Output :

{"results": [{"id": "doc-42", "title": "Validation fournisseur", "content": "...", "score": 0.88}], "count": 1}
Tip

Prefer this block over semantic_query for complex searches. RRF fusion combines 4 sources for better recall.