API key configuration

First, make the .env file in the project folder, and set the OpenAI, Together and Pinecone settings as follows.

OPENAI_API_KEY=sk-

PINECONE_API_KEY=

PINECONE_ENV=

TOGETHER_API_KEY=

And please install aws-cli and set the aws configuration settings like aws secret key, region and so on.

Install packages

pip install -r requirements.txt

Database Migration

python manage.py migrate

And to create superuser for this system, run following command

python manage.py createsuperuser

Running the application

python manage.py runserver