「RFC」New Component:ModalConfig 模型参数面板 #58
ONLY-yours
started this conversation in
RFCs
Replies: 1 comment
-
I think it is better to use the Formily approach. You supply the config and it will render the form dynamically on the fly. This allows:
In the ProChat input component UI, allow a button somewhere which when clicked will invoke the Formily (which renders the current config dynamically as a form). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
新增 ModalConfig 模型参数面板组件
Motivation
现在 ProChat 只能通过 Config 直接配置进去,有些时候用户会需要一个切换面板 or 细节的参数调整面板,能够在对话过程中进行动态的调整。
Example
参考如下,类似于这样子一个面板
API (还在构想)
这块还没怎么想好,有些应该是不会开放出去的,例如 historyCount、fewShots 这类,比较犹豫的是类似于 Modal(所使用的语言模型)
目前可支持配置的模型参数为:
目前的 Config 所有参数如下:
Some Design
搜集一些别人做的好的样例
DIfy:https://dify.ai/
Coze:https://www.coze.com/
欢迎提供更多好的想法输入
Beta Was this translation helpful? Give feedback.
All reactions