Add and use the knowledge graph parameter use_kg to the RAGlow external API

#24002

Issue Details

13 days ago
xtcn92
xtcn92
👻 feat:rag
xtcn92xtcn92
opened 13 days ago
Author

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

The use_kg parameter is already included in the API interface provided by RAGlow, which can be used in the knowledge graph of ragflow, greatly improving the accuracy of knowledge recall when dify uses ragflow as a knowledge base。 https://github.com/infiniflow/ragflow/blob/main/api/apps/sdk/dify_retrieval.py Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.