08_17-AirCARE/bigwork/README.md
Your Name bd5d8d108c feat: 添加航空公司情感分析与智能客服系统初始代码
- 实现数据预处理模块(data.py)和模型训练模块(train.py)
- 添加智能客服Agent应用(agent_app.py)和DNA解码系统(dna_decoder.py)
- 包含补偿推荐系统(compensation_recommender.py)和可视化支持
- 添加项目配置文件(pyproject.toml)和README文档
- 提供多种启动脚本(start_app.*, fix_path_and_run.bat等)
2026-01-13 00:43:15 +08:00

55 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 航空公司情感分析与智能客服优先级系统
基于社交媒体数据的航空公司服务质量监控与客户服务优先级排序系统。
## 项目特色
- 🎯 **情感分析**:对航空公司推文进行情感分类
- 🤖 **智能Agent**:生成结构化客服处置方案
- 📊 **优先级排序**:自动识别紧急服务请求
- 📈 **质量监控**:实时监测服务质量波动
## 快速开始
### 1. 环境配置
```bash
# 安装依赖
uv sync
# 配置API密钥
cp .env.example .env
# 编辑.env文件填入DeepSeek API Key
```
### 2. 运行应用
```bash
# 训练模型
uv run python src/train.py
# 启动可视化界面
uv run streamlit run src/streamlit_app.py
# 运行Agent应用
uv run python src/agent_app.py
```
## 项目结构
```
├── src/ # 源代码
│ ├── data.py # 数据处理模块
│ ├── train.py # 模型训练
│ ├── streamlit_app.py # 可视化界面
│ └── agent_app.py # Agent应用
├── data/ # 数据文件
├── models/ # 保存的模型
└── tests/ # 测试文件
```
## 技术栈
- **机器学习**scikit-learn, LightGBM
- **数据处理**polars, pandas, pandera
- **可视化**streamlit, seaborn
- **Agent框架**pydantic-ai
- **API**DeepSeek LLM