CoolFace
Apppublic

Narayana02/customer_service_agents

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
App README

Customer Service AI System

This project implements an AI-powered customer service system using OpenAI's GPT model. The system includes multiple specialized agents to handle different types of customer inquiries, as defined in the agents.py file.

Features

  • Main customer service agent for general inquiries and initial routing
  • Specialized agents for billing, orders, and technical support
  • Further specialization within technical support for hardware and software issues
  • Seamless transfer between agents based on the nature of the query using function calling
  • Colored console output for better readability and user experience
  • Conversation history tracking for context-aware responses

Agents (defined in agents.py)

  1. 1.Customer Service Agent: Handles initial queries and transfers to specialized departments
  2. 2.Billing Agent: Manages billing-related inquiries, charges, and payment processing
  3. 3.Orders Agent: Handles order tracking, modifications, and shipping inquiries
  4. 4.Technical Support Agent: Provides general technical support and routes to specialized hardware or software support
  5. 5.Hardware Support Agent: Addresses specific hardware-related issues and troubleshooting
  6. 6.Software Support Agent: Manages software-specific problems, installations, and updates

Requirements

  • Python 3.12+
  • OpenAI API key
  • Required Python packages:
  • openai==1.37.1
  • termcolor==2.4.0