Updated outdated descriptions and added multi-turn optimization (#4362)

### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Documentation Update
This commit is contained in:
writinwaters
2025-01-06 16:54:22 +08:00
committed by GitHub
parent b93c136797
commit 45619702ff
7 changed files with 48 additions and 12 deletions

View File

@ -1,5 +1,5 @@
{
"label": "Agent Component Reference",
"label": "Agent Components",
"position": 3,
"link": {
"type": "generated-index",

View File

@ -29,7 +29,7 @@ An opening greeting is the agent's first message to the user. It can be a welcom
### Global variables
You can set global variables within the **Begin** component, which can be either required or optional. Once established, users will need to provide values for these variables when interacting or with the agent. Click **+ Add variable** to add a global variable, each with the following attributes:
You can set global variables within the **Begin** component, which can be either required or optional. Once established, users will need to provide values for these variables when interacting or chatting with the agent. Click **+ Add variable** to add a global variable, each with the following attributes:
- **Key**: *Required*
The unique variable name.
@ -41,7 +41,7 @@ You can set global variables within the **Begin** component, which can be either
- **line**: Accepts a single line of text without line breaks.
- **paragraph**: Accepts multiple lines of text, including line breaks.
- **options**: Requires the user to select a value for this variable from a dropdown menu. And you are required to set *at least* one option for the dropdown menu.
- **file**: Requires the user to upload a file from their device.
- **file**: Requires the user to upload one or multiple files from their device.
- **integer**: Accepts an integer as input.
- **boolean**: Requires the user to toggle between on and off.
- **Optional**: A toggle indicating whether the variable is optional.