ragraf_neighbors
Edition: community Capability: search Operation page: neighbors
What it does
Neighbouring contours: a ready implementation of the same stack
What problem it solves
Stops you rewriting what a neighbouring corpus of the same stack already solved.
How to call it
ragraf_neighbors()
ragraf -p config/ragraf.yaml query neighbors
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| query | str | '' |
| name | str | '' |
| limit | int | 20 |
| per_corpus | int | 5 |
| stack | str | list[str] | None | None |
| min_shared | int | 1 |
| with_text | bool | True |
| verify | bool | True |
| kinds | list[str] | None | None |
| answer | bool | False |
What it returns
The answer is assembled by the operation and described by the envelope.