Unverified Commit 1ecbd95a authored by crazywoola's avatar crazywoola Committed by GitHub

Fix #2512 (#2515)

parent cad6e662
...@@ -47,7 +47,7 @@ Chat applications support session persistence, allowing previous chat history to ...@@ -47,7 +47,7 @@ Chat applications support session persistence, allowing previous chat history to
</Property> </Property>
<Property name='inputs' type='object' key='inputs'> <Property name='inputs' type='object' key='inputs'>
Allows the entry of various variable values defined by the App. Allows the entry of various variable values defined by the App.
The `inputs` parameter contains multiple key/value pairs, with each key corresponding to a specific variable and each value being the specific value for that variable. The `inputs` parameter contains multiple key/value pairs, with each key corresponding to a specific variable and each value being the specific value for that variable. Default `{}`
</Property> </Property>
<Property name='response_mode' type='string' key='response_mode'> <Property name='response_mode' type='string' key='response_mode'>
The mode of response return, supporting: The mode of response return, supporting:
......
...@@ -44,9 +44,9 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' ...@@ -44,9 +44,9 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
用户输入/提问内容。 用户输入/提问内容。
</Property> </Property>
<Property name='inputs' type='object' key='inputs'> <Property name='inputs' type='object' key='inputs'>
(选填)允许传入 App 定义的各变量值。 允许传入 App 定义的各变量值。
inputs 参数包含了多组键值对(Key/Value pairs),每组的键对应一个特定变量,每组的值则是该变量的具体值。 inputs 参数包含了多组键值对(Key/Value pairs),每组的键对应一个特定变量,每组的值则是该变量的具体值。
默认 `{}`
</Property> </Property>
<Property name='response_mode' type='string' key='response_mode'> <Property name='response_mode' type='string' key='response_mode'>
- `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。 - `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment