Skip to main content

Enrichment

Engram uses AI to enrich your documents with summaries, tags, and more.

Available Enrichments

TypeDescription
summarizeGenerate summaries for documents
tagAdd semantic tags to documents
label-clustersLabel document clusters
knowledge-mapBuild knowledge graph
allRun all enrichments

Running Enrichments

Streaming (Real-time)

# Summarize all documents
engram enrich summarize

# Add tags
engram enrich tag

# Run everything
engram enrich all

Batch API (50% Cheaper)

Use OpenAI's Batch API for cost savings:

# Preview what will be enriched
engram enrich batch all --dry-run

# Submit batch job
engram enrich batch all

# Check status
engram enrich batch status <batch_id>

Dry Run

Preview enrichments without making changes:

engram enrich all --dry-run

See Also