This project is inspired by the article What’s Trending in AI — Topic Modeling of AI Papers in 2022 from co:here AI.
The backend is implemented on Flask
for the purpose of a REST API.
- Initialize a virtual environment called
venv
withvirtualenv
.
virtualenv venv
- Install all the required packages
pip3 install -r requirements.txt
- Create an environment file,
.env
, and store the co:here api key inside in the format of
# inside .env
COHERE_API_KEY = YOUR_KEY
- Run the server
flask run