AI !== scalable solutions
🛠️ AI is the new, better solution right?
Not always for scalable solutions in web development.I needed an automated way to extract Energy Performance Certification (EPC) scores from EPC charts for my Chrome Extension to work out a property's ongoing costs.
It would be easy to think send this to Amazon Textract or even just ChatGPT, it would accurately extract the information and then we can write some logic to get the scores. With Amazon, you even get a generous free tier for 1 thousand pages per month for free for 3 months.
Only issue is, this is a service on the free version of the model. If there were 10,000 users looking at 100 properties every month, that's going to cost thousands per month for free users that aren't paying.
Not a scalable solution where my aim is to only incur costs when the user pays via serverless architecture.
I ended up using terrasect.js to extract text information from PDFs and actually HTML Canvas for images to automate extracting the score from the image.
A zero cost solution 🎉
Have you faced a similar challenge?
BuildInPublic AWS WebDevelopment FullStack Frontend
Comments
Post a Comment