entity_neighbors
Edition: pro ragraf_entity_neighbors
An entity's neighbours in the document graph: each with the address of its citation
Parameters
| Name | Type | Default |
|---|---|---|
| entity | str | required |
| depth | int | 1 |
| kind | str | 'entity' |
| limit | int | 50 |
| asof | str | None | None |
Call example
ragraf -p config/ragraf.yaml query entity_neighbors <entity>
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
The answer is assembled by the operation and described by the envelope.
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.