Skip to main content

Overview

The Recipe Agent generates personalized recipe recommendations based on user inputs like ingredients, time, and dietary preferences. It relies on two recipe PDFs stored in a PgVector-powered knowledgebase for fast and efficient searches, then enhances suggestions with web searches using ExaTools.

Implementation

Create a file ai_recipe_creator_agent.py with the following code:
ai_recipe_creator_agent.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install required libraries

3

Set environment variables

4

Run PgVector using Docker

5

Run the agent