Skip to content

Recipe finder web application leveraging OpenAI's GPT 3.5-Turbo to create recipes

Notifications You must be signed in to change notification settings

Samanyu24X/RecipeFinderAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This web application leverages the OpenAI API (GPT 3.5-Turbo) to create recipes for the user.

Upon arrival, the user is greeted with a welcome and given a short description of how the application works.

Default Page

The user can then enter the name of a food/meal, and an API request will be sent to the GPT assistant.

Prompt engineering is used to direct the assistant to create its response following a list of guidelines. Additionally, it is instructed to return a specified response in case the user's query is not the name of a food (which is parsed later on to return an error message and display it to the user in the result box).

Once the OpenAPI returns its result, the data received is parsed and formatted. If an error occurs, the ouput is specified accordingly.

After entering the name of a food/meal and clicking 'Find Recipe', the user will be presented with the recipe as such:

Part 1 of Recipe Result Part 2 of Recipe Result

The user can then follow the recipe, or enter a new term into the search bar and look for a new recipe.

About

Recipe finder web application leveraging OpenAI's GPT 3.5-Turbo to create recipes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published