A personal AI assistant inspired by the movie "Her" (2013), designed for the Google Cloud Japan AI Hackathon Vol.2.
Last updated: April 26, 2025
This project creates a human-like voice assistant that:
- Provides conversational AI with voice input/output
- Delivers personalized insights based on health data
- Offers AI industry news and stock updates
- Uses a terminal-like interface for a unique aesthetic
The application consists of three main components:
- Frontend: Streamlit-based UI with voice interaction capabilities
- API: Backend service that integrates with local LLM and external APIs
- Scheduler: Handles regular tasks like news fetching and health data analysis
- ML Model: Local Swallow1.5 model by sakana.ai
- Frontend: Streamlit with terminal-like UI
- Backend: FastAPI
- Infrastructure: Google Cloud (deployed via Terraform)
- Data Storage: BigQuery
- Containerization: Docker
- Health Data: Huawei Health Kit API
- Docker and Docker Compose
- Google Cloud CLI (for deployment)
- Terraform (for infrastructure management)
-
Clone the repository:
git clone https://github.com/yourusername/like-her.git cd like-her -
Run the application locally:
docker-compose up -
Access the application:
- Frontend: http://localhost:8501
- API: http://localhost:8080
- Create a new Google Cloud project
- Enable required APIs:
- Cloud Run
- Cloud Scheduler
- BigQuery
- Artifact Registry
-
Navigate to the infrastructure directory:
cd infrastructure/terraform -
Initialize Terraform:
terraform init -
Create a
terraform.tfvarsfile with your project information:project_id = "your-gcp-project-id" -
Apply the Terraform configuration:
terraform apply
.
├── app
│ ├── api # Backend API service
│ ├── frontend # Streamlit UI
│ └── scheduler # Scheduled jobs
├── data # Data storage (local development)
├── docs # Documentation
├── infrastructure # IaC with Terraform
│ └── terraform
└── docker-compose.yml # Local development orchestration