ragraf_entity_neighbors
Edition: pro Capability: doc-graph Operation page: entity_neighbors
What it does
An entity's neighbours in the document graph: each with the address of its citation
What problem it solves
Shows the entities around one, each with the address of its citation.
How to call it
ragraf_entity_neighbors(entity=…)
ragraf -p config/ragraf.yaml query entity_neighbors <entity>
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| entity | str | required |
| depth | int | 1 |
| kind | str | 'entity' |
| limit | int | 50 |
| asof | str | None | None |
What it returns
The answer is assembled by the operation and described by the envelope.