Skip to content

Conversation

mokeyish
Copy link
Contributor

@mokeyish mokeyish commented Jun 7, 2024

The prompt of flowise are dynamically generated by RAG.

In order to obtain consistent corpus, this node is added to collect corpus for subsequent model fine-tuning training.

@HenryHengZJ
Copy link
Contributor

do you have a flow or example template?

@mokeyish mokeyish marked this pull request as draft June 14, 2024 04:19
@mokeyish mokeyish changed the title Add PromptOuput Node for corpus collection Add PromptOutput Node for corpus collection Jun 14, 2024
@mokeyish
Copy link
Contributor Author

mokeyish commented Jun 14, 2024

do you have a flow or example template?

I hope to have an IfElse node that receives overideConfig to control whether to run this node and only outputs the dynamically generated Prompt. However, IfElse is not flexible enough and needs to be improved first, so I turn it into a draft first.

If you have a better, more convenient solution, please let me know.

@mokeyish
Copy link
Contributor Author

@HenryHengZJ Here is the chatflow:
图片

I add forwardTrue and forwardFalse(type any) to IfElseFunction's input. IfElseFunction will disable the following branch that not match condition.

But I feel like this solution is not very good.

It should be something like 'if' in
https://docs.github.com/zh/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsif

@HenryHengZJ
Copy link
Contributor

will hold on this for now, we are releasing sequential agents which might be able to solve your needs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants