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.

Broadcasting Progress from Background Jobs
Play
22:23 CC

Broadcasting Progress from Background Jobs

#408 Jul 2, 2023 free
In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.

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.

Custom Error Pages with Slack Notification
Play
9:06 CC

Custom Error Pages with Slack Notification

#91 Jul 30, 2017 free
Learn to use custom error pages to provide a similar look to your application. Get notified on Slack as errors occur to act on them before they're reported.