编辑 | blame | 历史 | 原始文档

Parameters

Param Type Description
name string Name of the element
value string Data field containing an array of chat messages or empty array
[messageroles] string Comma-separated list of roles that the user can create and send messages on behalf of. Default is "user" if the llm parameter is set; default is "user,assistant" if not.
[editable] boolean | string Whether messages are editable. Use true/false, or a comma-separated list of roles that are editable
[minmessages] string | number Minimum total number of messages required to submit
[maxmessages] string | number Maximum total number of messages allowed
[llm] string Model used to enable automatic assistant replies, format: <provider>/<model>