| 1 | # Support bot |
| 2 | |
| 3 | This example is a customer service bot which includes a user interface agent and a help center agent with several tools. |
| 4 | This example uses the helper function `run_demo_loop`, which allows us to create an interactive Swarm session. |
| 5 | |
| 6 | ## Overview |
| 7 | |
| 8 | The support bot consists of two main agents: |
| 9 | |
| 10 | 1. **User Interface Agent**: Handles initial user interactions and directs them to the help center agent based on their needs. |
| 11 | 2. **Help Center Agent**: Provides detailed help and support using various tools and integrated with a Qdrant VectorDB for documentation retrieval. |
| 12 | |
| 13 | ## Setup |
| 14 | |
| 15 | To start the support bot: |
| 16 | |
| 17 | 1. Ensure Docker is installed and running on your system. |
| 18 | 2. Install the necessary additional libraries: |
| 19 | |
| 20 | ```shell |
| 21 | make install |
| 22 | ``` |
| 23 | |
| 24 | 3. Initialize docker |
| 25 | |
| 26 | ```shell |
| 27 | docker-compose up -d |
| 28 | ``` |
| 29 | |
| 30 | 4. Prepare the vector DB: |
| 31 | |
| 32 | ```shell |
| 33 | make prep |
| 34 | ``` |
| 35 | |
| 36 | 5. Run the main scripy: |
| 37 | |
| 38 | ```shell |
| 39 | make run |
| 40 | ``` |