CoolFace
Apppublic

anishasingh-dev/openenv-ai-support-simulation-projects

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

๐Ÿง  OpenEnv: AI Customer Support Simulation

Python Status PRs Welcome

๐Ÿ“Œ Overview

OpenEnv is a simulation environment for building and evaluating AI agents in a customer support setting.

The goal is to design an agent that can intelligently process incoming support tickets by:

  • โ€”๐Ÿท๏ธ Classifying the issue category
  • โ€”โšก Determining the priority level
  • โ€”๐ŸŽฏ Selecting the appropriate support action

The environment evaluates the agent using a deterministic reward function, making it ideal for experimentation, benchmarking, and learning.


Tech Stack

  • โ€”python
  • โ€”AI agent logic
  • โ€”Simulation environment

๐Ÿ“‚ Dataset

The dataset consists of simulated customer support tickets that mimic real-world scenarios, including:

  • โ€”๐Ÿ’ณ Billing issues
  • โ€”๐Ÿ› ๏ธ Technical problems
  • โ€”โ“ General queries
  • โ€”๐Ÿคฏ Messy / real-world user inputs (typos, urgency, informal tone)

Each ticket includes ground truth labels for:

  • โ€”Category
  • โ€”Priority
  • โ€”Action

๐Ÿงฎ Reward Function

The agent is evaluated per ticket using the following scoring:

ComponentScore
Category0.4
Priority0.3
Action0.3

โœ… Maximum score per ticket = 1.0


โ–ถ๏ธ How to Run

Run Baseline Agent

bash
python baseline_agent.py

๐Ÿณ Docker Setup

Build the Container

bash
docker build -t support-env .

Run the Container

bash
docker run support-env

๐Ÿ—‚๏ธ Project Structure

.
โ”œโ”€โ”€ dataset.py          # Dataset definitions
โ”œโ”€โ”€ env.py              # Simulation environment
โ”œโ”€โ”€ grader.py           # Evaluation logic
โ”œโ”€โ”€ baseline_agent.py   # Simple rule-based agent
โ”œโ”€โ”€ requirements.txt    # Dependencies
โ”œโ”€โ”€ Dockerfile          # Container setup
โ””โ”€โ”€ README.md           # Project documentation

๐Ÿ“Š Example Output

Final Score: 20.10

๐Ÿš€ Future Improvements

  • โ€”Add ML/NLP-based intelligent agents
  • โ€”Introduce noisy / adversarial inputs
  • โ€”Expand dataset with more edge cases
  • โ€”Add web-based visualization dashboard

๐Ÿค Contributing

Contributions are welcome! Feel free to fork the repo, open issues, or submit pull requests.