SambhaviPD / your-recipebuddy

A webapp that suggests recipes based on the user's inputs. FastAPI is used as backend, and Streamlit as frontend
2 stars 1 forks source link

Random Recipe - Write a method using OpenAI's API #23

Closed SambhaviPD closed 1 year ago

SambhaviPD commented 1 year ago

Using Completion API, give proper prompt and generate a random recipe using OpenAI's API. This requires Open API's API Key. In order to get one, sign up at https://openai.com. Right ow there is no waitlist to get an API Key.

SambhaviPD commented 1 year ago

Completed the method that uses OpenAI's Completion API to generate a random recipe. The same has been deployed in fly as well. Right now the default is changed from Spoonacular to OpenAI at code level.