cai/examples/support_bot
Víctor Mayoral Vilches c3e3983143 Switch to CAI structure from swarm inspiration
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-01-09 13:20:31 +01:00
..
data Pre-commit fixes in all source code 2025-01-09 13:06:01 +01:00
Makefile Pre-commit fixes in all source code 2025-01-09 13:06:01 +01:00
README.md Switch to CAI structure from swarm inspiration 2025-01-09 13:20:31 +01:00
__init__.py Initial commit 2025-01-09 11:19:01 +01:00
customer_service.py Switch to CAI structure from swarm inspiration 2025-01-09 13:20:31 +01:00
docker-compose.yaml Initial commit 2025-01-09 11:19:01 +01:00
main.py Switch to CAI structure from swarm inspiration 2025-01-09 13:20:31 +01:00
prep_data.py Pre-commit fixes in all source code 2025-01-09 13:06:01 +01:00
requirements.txt Pre-commit fixes in all source code 2025-01-09 13:06:01 +01:00

README.md

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 CAI session.

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