Skip to content

Skip the second reranking for knowledge retrieval when there is only one dataset selected #29575

@jzymx50

Description

@jzymx50

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.

Currently when using knowledge retrieval node in a workflow, the multi-way retrieval is implemented even there is only one dataset, making an unneccessary second reranking. This would slow down the execution of workflow.

Suggestion:
Skip the multi-way retrieval if there is only one dataset selected.
Tips can be also added on frontend settings popup window.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions