This guide demonstrates how to use Smooth to search for flights using Google Flights.
1
Define Search Parameters
Structure your flight search task prompt.
Python
Copy
Ask AI
flight_search = """Search for flights on Google Flights from New York to London, departing tomorrow, coming back in a week. Find the cheapest round-trip option and return:- Flight details (airline, flight number, times)- Price, duration, and number of stops"""