infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
18.18k stars 1.84k forks source link

[Question]: Is there an endpoint that we could ping that would only give us back the retrieved chunks? #2476

Closed wolfassi123 closed 1 week ago

wolfassi123 commented 1 week ago

Describe your problem

I was wondering if there is any endpoint that can be pinged that would give us the chunks needed to answer the question. It would great if it can be done as it would an easier way for evaluation and in case there was any locally deployed LLM we can still use RAGFlow for the retrieval part but use the local LLM to generate the answer from the chunks.

KevinHuSh commented 1 week ago

POST /v1/api/retrieval

Mandatory parameters:

Authorization reference