EnrichmentPipeline.run()
Run enrichment on document nodes in the knowledge graph.
Usage
EnrichmentPipeline.run(
kg,
*,
limit=100,
force=False,
)Parameters
kg: Any-
A
~talk_box.knowledge_graph.KnowledgeGraphinstance. limit: int = 100-
Maximum number of documents to enrich per run.
force: bool = False-
If
True, re-enrich all documents regardless of whether they’ve been enriched before.
Returns
PipelineResult- Summary of enrichment activity.