Skip to content
RAGRAF

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
querystr''
namestr''
limitint20
per_corpusint5
stackstr | list[str] | NoneNone
min_sharedint1
with_textboolTrue
verifyboolTrue
kindslist[str] | NoneNone
answerboolFalse

What it returns

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