Add documents to the knowledge graph
docs_ingestInsert text documents into the LightRAG knowledge graph for retrieval; identical re-submissions are de-duplicated by hash.
Instructions
Insert text documents into the LightRAG index. Indexing is a graph-extraction pass, not a cheap vector write: budget roughly a minute per chunk on a local model, and expect the corpus to stay queryable-but-partial while it runs. Identical content is de-duplicated by hash, so re-submitting an unchanged document is a no-op rather than a duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | ||
| file_sources | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |