Inspiration

I keep a paper notebook to take notes during meetings at work, but oftentimes, I find that I can't write everything I want down fast enough. Throughout the day, there are times when I want to note something, but then I have to find my notebook, grab a pen, and open to the next clean page.

What it does

This bot is the start of our virtual assistant to make taking notes, and tracking budgets easier.

How we built it

We utilized a datastax astra database and https://pypi.org/project/SpeechRecognition/ speech recognition library to build a minimum viable product with a simple voice interface and command-line interface.

Challenges we ran into

The datastax API was original designed poorly, so it had to be rewritten. The code for the voice interface first came out extremely buggy: it only worked about 40% of the time and threw random exceptions.

Accomplishments that we're proud of

Learning and using datastax astra's python driver to successfully connect and interact with our databases. Being able to parse live audio input.

What we learned

How to use datastax's Cassandra driver. Writing doctstrings as you go can be a bit tedious (easier to do them at the end). How to use PyAudio. How to use SpeechRecognition module.

What's next for life-bot

Build a frontend/backend with flask and react to server and give the user a GUI (easier to work with budgets). Add support for making reminders. Clean up DataStax driver code.

Built With

Share this project:

Updates