Viewing File: /home/ubuntu/codegamaai-test/tax_bot/readme.md

# Installation Guide for Tax Bot

- This document provides a step-by-step guide to installing and running the Tax Bot. Follow the instructions carefully to set up the project correctly.

## Prerequisites

- Before you begin, ensure you have the following installed on your system:

- Python 3.7 or higher
- Git

## Steps to Install and Run Tax Bot

### 1. Clone the Bitbucket Repository

- Clone the repository from Bitbucket to your local machine using the following command:

```bash

    git clone https://bitbucket.org/codegama/tax_bot.git
```

### 2. Create and Activate Python Environment

- Navigate to the project directory and create a Python virtual environment:

```bash

cd <project_directory>
python -m venv venv_tax_bot

```

- Activate the virtual environment:

- On macOS and Linux:

```bash

    source venv_tax_bot/bin/activate
	
```

### 3. Install Dependencies

- Install the required Python packages specified in the requirements.txt file:

```bash

pip3 install -r requirements.txt

```

### 4. Download the Intent Classification Model


- Download the Intent Classification Model from the Dropbox folder: https://www.dropbox.com/scl/fo/vwzwkks3hhyl9owesow2f/AMVs1SFCZcJ1BqAIuQhKirg?rlkey=r8l7krgvoobuip10dqvkpqswm&st=n3kcccnf&dl=0

- Upload the **intent_classification** under **resources** folder

### 5. Run the Application

Finally, navigate to the RagDrive Folder and run the application using the following command:

```bash

python3 app.py

```

- Note: The ports specified for this API is 5004.
Back to Directory File Manager