A personal assistant to be integrated in the Samsung SmartThings platform.
It incudes features like personalized automation based on users activities, location, time of the day or weather conditions. With these we added a power saving mode to reduce bills. The website supports multiple locations and multiple users for the same family, with the ease of adding new devices. SAM can also build and control routines based on users commands.
- Githubhttps://github.com/metal0bird/prism_hackathon
- StackNext.js 14 / Gradio / JavaScript / Python / tailwindCSS
- Presentationppt
- VideoPresentation video
- VideoDemo video
Ideation
This project was built during the Samsung Prism hackathon where we were given the task to build a personal assistant for smart home devices. The project was inspired from a startup Josh.ai that we came across while researching for the hackathon. So we planned to make a website for POC and showcase our features. The main task was to provide intelligent suggestions to users to make their life easier.
Building
We decided to build this using Next.js 14, tailwindCSS for front end. Along with using Gradio's chat interface for the user to interact with the assistant. All the backend code is written in JavaScript or Python. And because of the limited time availability we ended up using json files to emulate a database, but we are planning to use supabase in the future for hosting the users data. For the assistant we used an open source model Code Llama 7B, through LMStudio.
Learning
Integrating open source models using gradio and developing a data driven approach for giving out personalized suggestions. Also using NLP to understand users commands and give out the desired output.