AIChef: https://aichef.vercel.app/
A simple web service leveraging OpenAI's "davinci-instruct-beta-v3" engine to generate complete recipes from user-inputted ingrediants. API interacting with engine created with Python's FastAPI with Next.js on the client side.
Backend service is organized into a AWS lambda function with a HTTP endpoint provided by Amazon API Gateway. Front-end deployed on vercel because no $
-
If you don’t have Python installed, install it from here
-
Clone this repository
-
Navigate into the project directory
$ cd openai-quickstart-python
-
Create a new virtual environment
$ python -m venv venv $ . venv/bin/activate
-
Install the requirements
$ pip install -r requirements.txt
-
Make a copy of the example environment variables file
$ cp .env.example .env
-
Add your API key to the newly created
.env
file -
Run the app
$ flask run
You should now be able to access the app at http://localhost:5000! For the full context behind this example app, check out the tutorial.