docs: improve api documentation for advanced chat and workflow (#9882)

This commit is contained in:
kurokobo
2024-10-26 11:43:47 +09:00
committed by GitHub
parent a17f169e01
commit 227f49a0cc
4 changed files with 158 additions and 5 deletions

View File

@@ -47,7 +47,9 @@ Chat applications support session persistence, allowing previous chat history to
</Property>
<Property name='inputs' type='object' key='inputs'>
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. Default `{}`
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.
If the variable is of file type, specify an object that has the keys described in `files` below.
Default `{}`
</Property>
<Property name='response_mode' type='string' key='response_mode'>
The mode of response return, supporting:
@@ -307,8 +309,8 @@ Chat applications support session persistence, allowing previous chat history to
/>
<Row>
<Col>
Upload a file (currently only images are supported) for use when sending messages, enabling multimodal understanding of images and text.
Supports png, jpg, jpeg, webp, gif formats.
Upload a file for use when sending messages, enabling multimodal understanding of images and text.
Supports any formats that are supported by your application.
Uploaded files are for use by the current end-user only.
### Request Body