langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
48.41k stars 6.92k forks source link

RAG Knowledge Base Search Requirement: Filtering Function Based on Document Name #5961

Closed sinosong closed 2 months ago

sinosong commented 3 months ago

Self Checks

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

When searching in the RAG knowledge base, it is hoped that filtering by document name will be supported. This way, when using API integration, the specified version of the document can be queried by passing in the document name.

知识库检索时,希望能支持根据文档名称进行筛选过滤。这样在使用API对接时,通过传入文档名称查询指定版本的文档

2. Additional context or comments

No response

3. Can you help us with this feature?

sinosong commented 3 months ago

Retrieval can also be performed through metadata.