This API is used by our NLP project's proof of concept and contains the endpoints to process LDA and Sentiment analysis tasks for our application.
To set up the project for development, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
-
Download BERTopic model
curl -o "app\loaders\model\topic\topic_model_mmr" https://drive.google.com/file/d/1gTi21FE35IEfSEWhLgE9dv5KBAQf8Qj0/view?usp=share_link
-
Start the server:
uvicorn main:app --reload
-
Navigate to
http://localhost:8000/docs
in your web browser to view the API documentation.