LightRAG Upload icon

LightRAG Upload

Upload file to LightRAG for indexing

LightRAG Upload

AI-generated

Summary

Upload binary file data from the workflow input to the LightRAG service for document indexing.

Inputs

  • Binary Property (required) — Name of the binary property in the input item that contains the file to upload (default is 'data').

Output shape

a list with a single item containing the JSON response from the LightRAG upload endpoint

The operation requires credentials with a URL and optional API key. It reads the specified binary property from the first input item, uploads it as multipart/form-data to the configured LightRAG /documents/upload API endpoint, and outputs the JSON response as an array with one element.

Examples

Example 1: Uploading a PDF file loaded in the 'data' binary property to LightRAG for indexing.

Set 'Binary Property' to 'data'. Connect a node that produces binary data to this node's input. Configure LightRAG API credentials with URL and API key if required.

Discussion