Inspiration

To make making an insurance claim with Hasting Direct fun and less stressful

What it does

Our prototype allows for the user to talk to an AI chatbot detective roleplay simulation to ask the user for all the data required to make an insurance claim. The user must login to a pre-existing account or make a new account.

How we built it

Used PyQT5 for the user interface. Used SQLite for the database. Used Gemini API for the AI chatbot. Logging in checks username and password against data stored in database. If correct the user proceeds to the next window. If not the user can create an account. All information collected is saved to the database. On the next window, the user is prompted for information by the AI. A label is displayed with the text generated by the chatbot. The data we choose to collect is the users home address, the vehicle registration, the incident type, the incident date, the incident description. The user enters data into the field and is saved to the database. This data in the future can be used to process the claim and give a quote. The Gemini API is created in an virtual environment and is prompted into a detective roleplay simulation.

Challenges we ran into

Using PyQt5 for the user interface. Reading and writing from databases. Implementation of Gemini API.

Accomplishments that we're proud of

Implementing databases. Using PyQt5 for the user interfaces. Implementing Gemini API as an AI chatbot.

What we learned

How to implement databases. How to use Gemini API.

What's next for The adventure

Get a quote.

Built With

Share this project:

Updates