Light Rag Query icon

Light Rag Query

Expose a LightRAG query as a Tool for AI Chatflows

Light Rag Query

AI-generated

Summary

Send a query to the LightRAG API using a specified query mode and receive a structured response in multiple paragraphs, a single paragraph, or bullet points.

Inputs

  • Query (required) — The question or query string to send to the LightRAG API.
  • Mode — Select the LightRAG query mode to control how the query is processed: mix, naive, global, hybrid, local, or bypass.
  • Response Type — Choose how the response is structured: Multiple Paragraphs, Single Paragraph, or Bullet Points.
  • Options — Optional advanced parameters including Top K (number of results), Chunk Top K, Max Entity Tokens, Max Relation Tokens, Max Total Tokens, and Enable Rerank (boolean).

Output shape

a single JSON object returned by the LightRAG API representing the query response

The response JSON structure depends on the LightRAG API and includes the answer formatted per the selected response type; the operation returns the full API response as-is in JSON format.

Discussion