DiscoverRunning in ProductionRobot Accounts AI Provides a System to Let You Categorize Invoices
Robot Accounts AI Provides a System to Let You Categorize Invoices

Robot Accounts AI Provides a System to Let You Categorize Invoices

Update: 2021-09-27
Share

Description

In this episode of Running in Production, Josh Kinabrew goes over building
an AI driven invoice categorization system using Ruby on Rails. It’s hosted on
Heroku and AWS and has been up and running since 2013.



Josh talks about training an AI system to scan and break down pictures of
invoices, managing thousands of clients, using the latest stable version of
Rails, using Sidekiq Pro, interfacing with QuickBooks and more.



Topics Include




  • 1:52 – A little bit about how the service works

  • 5:32 – Training an AI to process invoice items

  • 8:33 – Thousands of clients and the motivation to use Ruby on Rails

  • 10:28 – Using AWS Rekognition’s Textract and SageMaker for AI and ML decisions

  • 14:55 – It takes about 2 minutes to get an initial result after uploading an invoice

  • 18:12 – The mobile version is served through a responsive web application

  • 21:36 – They’re using the latest stable Rails release with good test coverage

  • 25:31 – Going over a few types of Sidekiq Pro driven background jobs that are running

  • 29:28 – Action Mailbox was a huge win for them, it’s also a monolithic code base

  • 31:54 – They’re using Heroku’s CI service

  • 32:52 – Good old Sprockets is used for the asset pipeline at the moment

  • 35:31 – Josh really likes Postgres, Redis is also being used quite a bit

  • 40:22 – What it’s like to work with QuickBook’s imports and exports

  • 46:30 – Most things are hosted on Heroku (2 worker and web Dynos)

  • 49:05 – Papertrail, Sentry and Mailgun are being used

  • 51:42 – Before sending emails most agriculture folks were faxing paperwork

  • 52:50 – The deploy process from development to production

  • 54:58 – Terraform is used to spin up the infrastructure, even on Heroku

  • 59:48 – Avoiding real customer data when copying data from prod to dev

  • 1:05:42 – Currently there’s no external monitoring checking the site for up-time

  • 1:07:49 – Best tips? Don’t worry about being perfect, get something out there

  • 1:09:43 – They’re hiring, you can email Josh and they’re on Twitter too



Links



📄 References




⚙️ Tech Stack


Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Robot Accounts AI Provides a System to Let You Categorize Invoices

Robot Accounts AI Provides a System to Let You Categorize Invoices