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 |
|---|---|---|
| query | str | required |
| limit | int | 20 |
| mode | str | 'both' |
What it returns
The answer is assembled by the operation and described by the envelope.