File size: 1,634 Bytes
94c58a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
customer-support-chatbot/
β”œβ”€β”€ data/                    # Data folder for storing datasets
β”‚   β”œβ”€β”€ raw/                 # Original, unprocessed datasets
β”‚   └── processed/           # Preprocessed datasets
β”œβ”€β”€ models/                  # Directory for saving fine-tuned models
β”œβ”€β”€ src/                     # Source code directory
β”‚   β”œβ”€β”€ preprocess.py        # Data preprocessing scripts
β”‚   β”œβ”€β”€ train.py             # Fine-tuning script for the model
β”‚   β”œβ”€β”€ api.py               # FastAPI app for real-time chatbot API
β”‚   β”œβ”€β”€ chatbot.py           # Core chatbot logic (loading model, handling queries)
β”‚   β”œβ”€β”€ deploy_sagemaker.py  # Script for AWS SageMaker deployment
β”‚   └── config.py            # Configuration file for hyperparameters
β”œβ”€β”€ tests/                   # Unit and integration tests
β”‚   └── test_api.py          # Test script for API responses
β”œβ”€β”€ docker/                  # Docker setup for containerized deployment
β”‚   β”œβ”€β”€ Dockerfile           # Dockerfile for building the chatbot image
β”‚   └── docker-compose.yml   # Optional docker-compose setup for local testing
β”œβ”€β”€ mlflow/                  # MLflow setup for model tracking
β”‚   └── mlflow_config.yml    # MLflow configuration file
β”œβ”€β”€ .github/                 # GitHub Actions workflows for CI/CD
β”‚   └── workflows/
β”‚       └── deployment.yml   # CI/CD pipeline for testing, building, and deploying
β”œβ”€β”€ requirements.txt         # Python dependencies
└── README.md                # Documentation