Inspiration

The project seemed very fun and we felt like we could complete it in the given time frame.

What it does

We built TravelBot, an insertable widget in any website that can read a knowledge base, talk with customers and employees, and has many tools optimized for travel preparation. For example, we added a flight search tool that allows the AI to search for recent or upcoming flights in order to provide a better experience for the users.

How we built it

We started brainstorming ideas about what exactly a user would want from this project. A helpful assistant that provides important info based on the users current needs. To accomplish this we utilized the Lockton Track to help provide insight on what a user might ask and organized the bot into a three part process; Planning, Travel, and Wrap Up.

The build itself is comprised of two Next.js apps in a Turborepo. The first app is the dashboard where users can manage the knowledge base of their AI, talk to it, review pasts conversations, and more. The second app is the insertable widget which can work on any website that runs our script.

Challenges we ran into

One of the main goals for this project was to ensure that anyone could chat with the chatbot and authentication could be used (but was not required) to verify the users and save their chats. This proved difficult as the session cookies would not save across the two different domains we were using for both apps. In the end, we fixed the issue by using search params for the user id so that if it were passed in, it could be used for verification. Otherwise, the chatbot would still respond normally.

Accomplishments that we're proud of

We are proud of completing the project on time. We initially thought that it might have been too ambitious for our skill levels. However, after powering through and learning a lot along the way we realized that it was really fun and all of us are glad that we did it.

What we learned

Some members of our team weren't very familiar with TypeScript before starting this project, so it served as a way to teach them a new language. We also learned how to collaborate in a team, divide tasks, share responsibility, and work towards an ultimate goal.

What's next for TravelBot

We really hope that we can integrate more AI features.

Built With

  • better-auth
  • drizzle-orm
  • elevenlabs
  • google-gemini
  • neon
  • next.js
  • postgresql
  • react
  • turborepo
Share this project:

Updates