Skip to content

RyanLisse/ai_bootcamp_week-1_exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👨‍🍳 AI Chef Experience 🍝

This project is a fun and interactive command-line application that allows users to interact with different AI chefs, each with its own unique personality and culinary expertise. Users can provide ingredients, dish names, or recipes, and the AI chefs will respond accordingly, suggesting dishes, providing recipes, or critiquing the provided recipe.

Features

  • Multiple AI chef personalities to choose from
  • Suggest dish names based on provided ingredients
  • Provide detailed recipes for given dish names
  • Critique and suggest improvements for provided recipes

Installation

Before installing project dependencies, it's recommended to set up a Python virtual environment. This helps to keep dependencies required by different projects separate by creating isolated environments for them. Follow these steps to set up your virtual environment and install the required packages.

  1. Set Up Virtual Environment:

    If you don't have a virtual environment yet, create one by running:

    python3 -m venv env

    Activate the virtual environment:

    • On Unix/macOS, run:

      source .venv/bin/activate
      
    • On Windows, run:

      env\Scripts\activate.bat
  2. Install Dependencies:

    With the virtual environment activated, install the project dependencies by running:

    pip install -r requirements.txt

    This command installs all the necessary packages as specified in the requirements.txt file, ensuring that you have the right versions needed for the project.

    pip freeze > requirements.txt to save the state environment source .venv/bin/activate to activate virtual Environment pip install openai to install A packages verify that openai is installed by running pip freeze again.

Project Structure

Below is the file and folder structure of the AI Chef Experience project:

ai_bootcamp_weekend_exercise
├── .venv/
├── chefs/
│   ├── brazilian_chef.py
│   ├── dutch_chef.py
│   ├── italian_chef.py
│   └── jamaica_chef.py
│   └── surinamese_chef.py
├── utils/
│   ├── base_chef.py
│   └── chef_interface.py
├── .gitignore
├── main.py
├── README.md
└── requirements.txt
  • ai_chefs/: Contains AI chef personalities and their functions.
  • utils/: Contains utility functions and classes, such as base_chef and the chef_interface.
  • main.py: The main application entry point.
  • requirements.txt: Project dependencies.
  • README.md: Project documentation.

Usage

  1. Run the main.py script.
  2. Select the desired AI chef personality.
  3. Choose the input type: "ingredients", "dish", or "recipe".
  4. Follow the prompts and interact with the AI chef.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages