Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何自定义ask输入? #7

Open
dao1oad opened this issue Apr 15, 2023 · 2 comments
Open

如何自定义ask输入? #7

dao1oad opened this issue Apr 15, 2023 · 2 comments

Comments

@dao1oad
Copy link

dao1oad commented Apr 15, 2023

您好,我已经在本地部署了chat-flow,我应该怎么编写yml文件才能实现在输入框中自定义问题再prompt呢?

  • name: 思路扩展
    ask: 我想写一篇文章,主题围绕于:$$placeholder$$,有什么合适的方向?只返回合适的方向。
    markdownEditor: true
    values:
    placeholder: ChatGPT 与内容创作?
    cachedResponseRegex:

比如这个例子,placeholder的内容固定为“ChatGPT 与内容创作?”无法自定义修改,即使输入了之后点prompt还是会变成“ChatGPT 与内容创作?”
能否给出一个能支持自定义输入的yml例子呢,谢谢!

@phodal
Copy link
Member

phodal commented Apr 15, 2023

这个好像是 bug,我记得后面好像修了

@dao1oad
Copy link
Author

dao1oad commented Apr 16, 2023

这个好像是 bug,我记得后面好像修了

期待重新修改一下呀,玩了好久没搞定。。。

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

No branches or pull requests

2 participants