This week, I focused on researching and planning the web application architecture and database design.
Frontend Research and Planning:
I primarily evaluated Django’s server-rendered HTML/CSS approach for the web interface, researched responsive design patterns to ensure 30-second page load time, started planning the calendar-based interface for daily entries, and began sketching some initial UI wire frames for the daily summary view.
Database Architecture:
Regarding the database, I investigated a schema design for storing the user diary entries, associating images with timestamps, location metadata from Google Maps API, and LLM-generated summaries. I also researched heavily on efficient storage mechanisms and retrieval patterns for image data using AWS S3.
LLM Integration Planning:
I explored AWS Rekognition API capabilities for image processing and started to work on an initial design for the data pipeline for processing daily images and generating summaries. I also looked into approaches for combining images analysis with location data for better context in the summaries.
The main challenge that I am anticipating from my research this week is optimizing the database queries to meet our performance requirements, especially when fetching and displaying multiple images and summaries for a single day’s view. I anticipate we will need to implement some kind of efficient caching system to address.