Skip to content

[Question]: Can't use Generate component as the input of Retrieval component in agent #6119

@chenbbc

Description

@chenbbc

Image

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

I encountered an issue when using the agent module in Ragflow. This problem did not occur in version 0.16 but started appearing in version 0.17. When using the generate component as the input for the Retrieval component during knowledge base searches, the search results are empty. However, if I use interact directly as the input, the knowledge base can return results.

For example, when searching for information related to January,February, if I input the keyword "January,February" directly into interact, I can get relevant results. But if I use generate to produce "January,February" as the input for Retrieval, the search returns nothing.

How can I resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions