Flask Backend
The backend code is written in Python 3 and uses Flask to serve the API
The purpose of the backend code is to:
Communicate with the OpenAI Beta API
Pass on the responses to the chrome extension
Pre-Requisites
GPT-3 Beta access (This gives you an API key that you would need to pass on with the API requests to OpenA
Python 3
Flask
File Structure
backend.py : Backend code in Python (Flask)
credentials.py : File contain API key. This file isn't part of the repo. You will have to create one and add the API key that you receive from openai
Installation
Install dependencies
Starting Script
cd project-folder
This is a sample output of the flask server running waiting to serve API requests. I'm running it locally.
The backend is now ready. Let's move on to the Chrome Extension
Last updated