LightRAG Insert Text icon

LightRAG Insert Text

Insert text into LightRAG for indexing

LightRAG Insert Text

AI-generated

Summary

Insert specified text into LightRAG's index for later retrieval, optionally associating it with a named file source.

Inputs

  • Text (required) — The text content to insert into LightRAG for indexing.
  • File Source (Optional) — Name of the file source to associate with the inserted text.

Output shape

a JSON object array containing the response from LightRAG API after insertion

The output is the full JSON response returned by LightRAG's /query endpoint after the insertion request; it reflects the API's confirmation or status and is returned as an array with one JSON object.

Discussion