Command Line Interface (CLI) Bot

A Command Line Interface (CLI) bot designed to streamline the process of finding and booking the cheapest flight tickets for users. This bot integrates the latest langchain Model to gather user preferences and employs Playwright to automate interactions with Yatra.com. The langchain model analyzes scraped JSON data, presenting the top 5 cheapest flights. The bot guides the user through selecting a preferred ticket and utilizes Playwright for the final booking process. The entire end-to-end ticket booking process is automated, with user confirmation needed only for payment via phone notification.

Technologies Used:⌨️

Node.js: The backend scripting language. JavaScript: Language used for programming logic. Langchain Model: Utilized for natural language processing and understanding. Open-ai 3.5 turbo: AI model for advanced text generation and analysis. PlayWright: Automation tool for web interactions. IDE_VS CODE: Integrated Development Environment for code development.

Inspiration:💡

Our inspiration stems from the desire to simplify and enhance the flight booking process. We aim to provide users with a seamless experience by leveraging advanced technologies.

What it does:⚡️

The Cheapest Flight Ticket Generation and Booking CLI-BOT streamlines the entire flight booking process. It integrates the Langchain Agents Model for user preferences and utilizes Playwright to automate interactions with Yatra.com. The bot analyzes data, presents the top 5 cheapest flights, guides users through selection, and automates the booking process.

How we built it:🌊

We built the CLI-BOT by combining the power of the latest Langchain Agents Model and Playwright. The integration involves scraping and analyzing JSON data to present the most cost-effective flight options. The user interface is simplified through the command line, providing a user-friendly experience.

Challenges we ran into:🔥

During development, we faced challenges in optimizing the integration between Langchain and Playwright. Ensuring a smooth end-to-end automation process posed technical hurdles that required creative problem-solving.

Accomplishments that we're proud of:🌞

We are proud to have successfully created a CLI-BOT that not only incorporates cutting-edge technologies but also delivers a fully automated and user-centric flight booking solution. The seamless integration of Langchain and Playwright represents a significant achievement.

What we learned:✅️

Throughout the development process, we gained valuable insights into the intricacies of integrating language models and automation tools. Overcoming challenges taught us innovative approaches to enhance user experiences in the travel domain.

What's next for Cheapest Flight Ticket Generation and Booking CLI-BOT:🥇

In the future, we plan to enhance the bot's capabilities by integrating additional features such as personalized recommendations, real-time updates on ticket prices, and further streamlining the payment confirmation process. Continuous improvement and user satisfaction remain our primary focus.

Built With

Share this project:

Updates