Added generate component description (#4399)

### What problem does this PR solve?


### Type of change


- [x] Documentation Update
This commit is contained in:
writinwaters
2025-01-07 19:56:11 +08:00
committed by GitHub
parent 49cebd9fec
commit 5e64d79587
3 changed files with 146 additions and 6 deletions

View File

@ -0,0 +1,21 @@
---
sidebar_position: 3
slug: /interact_component
---
# Interact component
The component that accepts user inputs and displays responses.
---
The **Interact** component serves as the interface between human and bot, receiving user inputs and displaying the agent's responses.
## Scenarios
A **Interact** component is essential where you need to display the agent's responses or require user-computer interaction.
## Examples
You can explore our three-step interpreter agent template, where the **Interact** component is used to display the final translation, or our customer service agent template, where the **Interact** component is used to display multi-turn dialogue between the user and the agent.