Documentation Index
Fetch the complete documentation index at: https://mintlify.com/juanceresa/sift-kg/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Search for entities in the knowledge graph by name or alias. Display entity details, connections, and descriptions.Usage
Arguments
Search term that matches entity names and aliases (case-insensitive).
Options
Show connected entities (incoming and outgoing relations). Use
-r as shorthand.Show entity description generated by
sift narrate. Use -d as shorthand.Filter results by entity type (e.g.,
PERSON, ORGANIZATION). Use -t as shorthand.Output directory containing graph data. Use
-o as shorthand.Show all relations (default: limit to 10). Use
-v as shorthand.Behavior
Search Algorithm
Matches query against:- Entity names (case-insensitive partial match)
- Entity aliases (from
aliasesoralso_known_asattributes)
Result Display
For each match:- Entity Type - E.g., PERSON, ORGANIZATION
- Name - Primary entity name
- Aliases - Alternative names (if any)
- Connections - Degree (number of relations)
- Source Documents - Origin documents
- Description - Narrative summary (if
--descriptionand available) - Relations - Connected entities (if
--relations)
Relation Format
Outgoing relations:Examples
Basic search
With relations
With descriptions
sift narrate to have been run).
Filter by type
Full details with all relations
Type-specific search
Output Format
Example Output
Relation Limits
By default, shows up to 10 relations per entity:--verbose to show all relations.
Integration with Narrate
The--description flag requires entity_descriptions.json:
No Results
If no matches found:Error Handling
Exits with error if:- No
graph_data.jsonfound (runsift buildfirst)