TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

Tutorial: build a Flight Booking Crew

browserbase / crewai-tutorial

Use CrewAI + Browserbase to get flight suggestions from the CLI via Kayak

4 2 Language: Python Updated: 1y ago

README

Tutorial: build a Flight Booking Crew

Build a Crew that finds the best roundtrip flights on the given dates.

This is based off the guide in the Browserbase docs

Setup

This project uses Poetry for dependency management.
You can install dependencies here either by running poetry install or pip install .

You will also need to set up a .env file with the following variables:

BROWSERBASE_API_KEY=your-browserbase-api-key
BROWSERBASE_PROJECT_ID=your-browserbase-project-id
OPENAI_API_KEY=your-openai-api-key
OPENAI_MODEL_NAME=gpt-4-turbo

Running the Crew

To run the Crew, run poetry run python main.py "flights from SF to New York on November 5th"

0 AIs selected
Clear selection
#
Name
Task