[Question]: How to save the original input?
Describe your problem
For example, there is now a workflow where I want to implement the following function: first, use input to search for content in a specified knowledge base. Once relevant information is found, output it directly. If there is no relevant information, use the general knowledge base to retrieve and reply with a large model. However, I encountered a problem where when the content was not retrieved in the first step, the content passed to the general retrieval also becomes empty, meaning the original problem disappears. I want to know how to solve this problem.
What about setting up input reference to Retrieval?
I have tried to do this, but after setting it up, when the workflow reaches this point, the input displayed becomes the first retrieval. I don't know if this is a bug. If the input interface is directly connected to the second step retrieval, it means that the second step retrieval must always be performed, which is obviously not what I want to achieve.
I can't reproduce it for nightly version of docker image.
Give it a try that pull the nightly again.
Okay, I will try it in the new version, but please let me show you the details. This is a very simple workflow, as you have shown, the problem lies in the last image, where the set input does not match the actual input. The content of the two knowledge bases is not important. In fact, when the content returned by Retrieveval_1 is empty, this workflow will get stuck in Retrieveval_1 precisely because the input provided to it is empty, but theoretically it should be the original input.