/cook_assistant

The Cook Assistant is an intelligent cooking companion powered by Large Language Models (LLMs), the OpenAI API, and LangChain. This repository contains the code for building a conversational cook assistant that can provide personalized recipe recommendations, cooking tips, and culinary insights to users.

Primary LanguagePython

Cook Assistant

The Cook Assistant is an intelligent cooking companion that provides personalized recipe recommendations, cooking tips, and culinary insights. Powered by Large Language Models (LLMs), the OpenAI API, and LangChain, this assistant utilizes the power of artificial intelligence to enhance your cooking experience.

Features

  • Location-Based Recommendations: Get classic dish recommendations based on specific locations.
  • Meal-Specific Recipe Generation: Request short and simple recipes for your desired meals.
  • Interactive User Interface: User-friendly interface using Streamlit for easy interaction.
  • Prompt Engineering: Create dynamic prompts to generate accurate and relevant responses.
  • Conversational Experience: View conversation history using the Streamlit Chat component.

Installation

  1. Clone the repository:

git clone https://github.com/flexil/cook-assistant.git

  1. Install the required dependencies:

pip install -r requirements.txt

  1. Usage

Set up your OpenAI API key as an environment variable. You can create a .env file and add the following line:

openai-key=YOUR_API_KEY

  1. Run the application:

streamlit run app.py

Open your browser and go to http://localhost:8501 to access the Cook Assistant.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please feel free to open an issue or submit a pull request.