Spaces:
Sleeping
Sleeping
Delete README.md
Browse files
README.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
# LLM-powered Data Analyst Agent
|
| 2 |
-
|
| 3 |
-
This Streamlit application uses an LLM-powered agent to analyze the Bitext Customer Support LLM Chatbot Training Dataset. The agent can answer user questions about the dataset, performing both structured (quantitative) and unstructured (qualitative) analysis.
|
| 4 |
-
|
| 5 |
-
## Features
|
| 6 |
-
|
| 7 |
-
- Ask questions about the customer support dataset
|
| 8 |
-
- Support for different types of analysis:
|
| 9 |
-
- Structured (Quantitative): Category frequencies, examples, intent distributions
|
| 10 |
-
- Unstructured (Qualitative): Summarize categories, analyze intents
|
| 11 |
-
- Scope detection to identify if questions are answerable from the dataset
|
| 12 |
-
- Support for follow-up questions
|
| 13 |
-
- Toggle between planning modes:
|
| 14 |
-
- Pre-planning + Execution: First classify the question, then execute the response
|
| 15 |
-
- ReActive Dynamic Planning: Let the LLM dynamically plan and execute the response
|
| 16 |
-
|
| 17 |
-
## Setup
|
| 18 |
-
|
| 19 |
-
1. Clone this repository
|
| 20 |
-
2. Install the required dependencies:
|
| 21 |
-
```
|
| 22 |
-
pip install -r requirements.txt
|
| 23 |
-
```
|
| 24 |
-
3. Run the Streamlit app:
|
| 25 |
-
```
|
| 26 |
-
streamlit run app.py
|
| 27 |
-
```
|
| 28 |
-
4. Enter your OpenAI API key when prompted
|
| 29 |
-
|
| 30 |
-
## Example Questions
|
| 31 |
-
|
| 32 |
-
- "What are the most frequent categories?"
|
| 33 |
-
- "Show examples of billing category"
|
| 34 |
-
- "What categories exist in the dataset?"
|
| 35 |
-
- "Summarize the technical support category"
|
| 36 |
-
- "What are the common intents in the billing category?"
|
| 37 |
-
- "How do agents typically respond to refund requests?"
|
| 38 |
-
|
| 39 |
-
## Requirements
|
| 40 |
-
|
| 41 |
-
- Python 3.8+
|
| 42 |
-
- OpenAI API key (gpt-4o model access)
|
| 43 |
-
- Internet connection (to download the dataset)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|