Skip to content

arham-kk/recipe-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Recipe Suggestions Chatbot

This project utilizes OpenAI's text generation model to suggest recipes based on a list of ingredients & prefrences provided by the user.

2023-08-11-16-50-42.mp4

How it Works

  1. The user inputs time available (minutes), number of people, experience level, diet preference and list of available ingredients (comma-separated) into the provided textbox.
  2. The system generates custom prompts using the provided ingredients.
  3. OpenAI's text generation model generates recipe suggestions based on the prompts.
  4. The suggested recipes are displayed in the output textbox.

Usage

  1. Install the required dependencies by running the following command --> pip install gradio openai
  2. Set up your OpenAI API credentials by replacing YOUR_API_KEY with your actual API key in the code
  3. Run the application by executing the following command --> python.app
  4. Access the application by opening the provided URL in your web browser.

About

A chatbot that suggests recipes based on a list of ingredients using OpenAI's text generation model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages