Transcribing with Artificial Intelligence
Play
36:25 CC

Transcribing with Artificial Intelligence

#395 Apr 2, 2023 free
In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.

ActiveJob
Play
5:24 CC

ActiveJob

#9 Jul 30, 2015 free
ActiveJob is a built in wrapper within Rails 4 for your background processors. By adding this layer to your application, swapping background processors is much easier as you will only be affecting a limited number of files.

Streaming LLM Responses
Play
24:10 CC

Streaming LLM Responses

#445 Mar 3, 2024 free
In this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser.

Detect Spam with AI
Play
29:22 CC

Detect Spam with AI

#427 Nov 5, 2023 free
We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam.

Purge Orphaned Active Storage Records
Play
11:13 CC

Purge Orphaned Active Storage Records

#281 Jan 31, 2021 pro
Over time, orphaned records can build up within Active Storage. In this episode, we look at a few approaches to clean up these orphaned records.