Skip to content
RAGRAF

ragraf_doc_search_levels

Edition: community Capability: search Operation page: doc_search_levels

What it does

Dual-level search: local facts and the global level in one answer

What problem it solves

Gives a local fact and the overall picture in one answer, so one pass is enough.

How to call it

ragraf_doc_search_levels(query=…)
ragraf -p config/ragraf.yaml query doc_search_levels <query>

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
querystrrequired
limitint20
modestr'both'

What it returns

The answer is assembled by the operation and described by the envelope.