Skip to content

Latest commit

 

History

History

support_bot

Support bot

This example is a customer service bot which includes a user interface agent and a help center agent with several tools. This example uses the helper function run_demo_loop, which allows us to create an interactive Swarm session.

In this example, we enhance Swarm with DBOS to be durable, using durable_swarm.py as a drop-in replacement for Swarm.

Overview

The support bot consists of two main agents:

  1. User Interface Agent: Handles initial user interactions and directs them to the help center agent based on their needs.
  2. Help Center Agent: Provides detailed help and support using various tools and integrated with a Qdrant VectorDB for documentation retrieval.

Setup

To start the support bot:

  1. Ensure Docker is installed and running on your system.
  2. Install the necessary additional libraries:
make install
  1. Initialize docker
docker-compose up -d
  1. Prepare the vector DB:
make prep
  1. Run the main scripy:
make run