Skip to content

connectjk/customer-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    # customer-support

    > Self-Hosted Agent — Auto-generated by Agent Factory
    > Deploys to **Azure Container Apps**

    ## Description
    A customer support agent that can search a knowledge base, create support tickets, track ticket status, and escalate complex issues to human agents when needed. It responds politely, provides step-by-step troubleshooting, and always confirms resolution before closing a case.

Integrations

REST API, SQL Database, Email Service

Business Rules

Always greet the customer by name. Escalate if unresolved after 3 attempts. Never share internal ticket IDs with customers.

    ## Quick Start

    ```bash
    # 1. Create a virtual environment
    python -m venv .venv
    source .venv/bin/activate   # Linux/macOS
    .venv\\Scripts\\activate     # Windows

    # 2. Install dependencies
    pip install -r requirements.txt

    # 3. Configure environment variables
    cp .env.example .env
    # Edit .env with your values

    # 4. Run locally
    uvicorn src.main:app --reload --port 8080
    ```

    ## API Endpoints

    | Method | Path | Description |
    |--------|------|-------------|
    | `GET` | `/health` | Health check |
    | `POST` | `/invoke` | Invoke the agent |

    ### Invoke Example
    ```bash
    curl -X POST http://localhost:8080/invoke \\
      -H "Content-Type: application/json" \\
      -d '{"message": "Hello, agent!"}'
    ```

    ## Docker

    ```bash
    docker build -t customer-support .
    docker run -p 8080:8080 --env-file .env customer-support
    ```

    ## Deploy to Azure Container Apps
    See `deploy/DEPLOYMENT.md` for full deployment guide.

About

A customer support agent that can search a knowledge base, create support tickets, track ticket status, and escalate complex issues to human agents when needed. It responds politely, provides step-by-step troubleshooting, and always confirms resolution before closing a case.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors