infiniflow / ragflow

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

[Feature Request]: Add document references in responses for API queries #2229

Open octoberweb69 opened 1 week ago

octoberweb69 commented 1 week ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

No response

Describe the feature you'd like

Currently, when performing queries within the RAG system, document references (as indicated in the original query results) are visible and highly useful for contextualizing the provided information. However, when executing the same queries via the API, these references are not included in the response.

This discrepancy limits the completeness of the information provided via the API, making it more challenging for users to correlate the responses with the source documents or specific regulations mentioned.

I request that a feature be added to include these references in the API responses as well, ensuring consistency and greater utility of the information received, regardless of the query method used.

Describe implementation you've considered

Document references should be present in the responses for queries made via API as well, maintaining consistency and integrity of the information.

Documentation, adoption, use case

No response

Additional information

No response

muou55555 commented 1 week ago

+1

wan251761220 commented 1 week ago

+1

ZhouNJ commented 4 days ago

+1