kikocis/Based-Agent public
a87f47c62cfe Update README.md Shyamal H Anadkat,
| .. | ||
| README.md | 870 B | |
| __init__.py | 0 B | |
| database.py | 4.4 KiB | |
| main.py | 4.8 KiB | |
README.md
Personal shopper
This Swarm is a personal shopping agent that can help with making sales and refunding orders.
This example uses the helper function run_demo_loop, which allows us to create an interactive Swarm session.
In this example, we also use a Sqlite3 database with customer information and transaction data.
Overview
The personal shopper example includes three main agents to handle various customer service requests:
- Triage Agent: Determines the type of request and transfers to the appropriate agent.
- Refund Agent: Manages customer refunds, requiring both user ID and item ID to initiate a refund.
- Sales Agent: Handles actions related to placing orders, requiring both user ID and product ID to complete a purchase.
Setup
Once you have installed dependencies and Swarm, run the example using:
python3 main.py