Skip to content
RAGRAF

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
entitystrrequired
depthint1
kindstr'entity'
limitint50
asofstr | NoneNone

What it returns

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