ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Feature Request]: Please Build a Retrieval API

Open taowang1993 opened this issue 1 year ago • 2 comments

Is there an existing issue for the same feature request?

  • [X] I have checked the existing issues.

Is your feature request related to a problem?

No response

Describe the feature you'd like

I want to integrate Ragflow's knowledge base and Dify.

Ragflow specializes in building robust RAG, while Dify specializes in building powerful agent.

I want to leverage the strengths of both platforms via API.

But I can't find a retrieval API in Ragflow's docs.

So I want to kindly ask Ragflow's team to build a retrieval API.

This will make the AI agent revolution take a huge step forward!

https://docs.dify.ai/guides/knowledge-base/external-knowledge-api-documentation

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response

taowang1993 avatar Oct 07 '24 20:10 taowang1993

Check out this

KevinHuSh avatar Oct 08 '24 00:10 KevinHuSh

ragflow indeed has the retrieval api already https://github.com/infiniflow/ragflow/blob/2a86472b88a7cc7e25fc832bde724ae9fe06acf6/api/apps/api_app.py#L805

but this request is more specific for the Dify external retrieval api implement. https://docs.dify.ai/guides/knowledge-base/external-knowledge-api-documentation, which has a different parameter name:

  • kb_id vs knowledge_id
  • question vs query
  • ...

kaleocheng avatar Oct 11 '24 09:10 kaleocheng

+1. Great help if we can integrate ragflow with dify.

nicklhy avatar Oct 16 '24 07:10 nicklhy

+1. Great help if we can integrate ragflow with dify.

Already integrated. Check out the latest merge:

https://github.com/infiniflow/ragflow/pull/2848

taowang1993 avatar Oct 16 '24 08:10 taowang1993