Tone Check

Episode #562 by Teacher's Avatar David Kimura

Summary

In this episode, we use a small AI model to check the tone of a message in real time on the client's browser. There's no need to send messages back to the server or to an API because it's all done on the client's browser with the Web GPU. It is small enough to work on mobile devices and desktop computers.
rails ai 17:36

Chapters

  • Introduction (0:00)
  • Importing library (1:34)
  • Tone Check controller (2:24)
  • Setting up the view (4:36)
  • Performing the Tone Check (6:07)
  • Demo (10:21)
  • Toxic check (11:01)
  • Toxic demo (14:16)
  • Final Thoughts (16:19)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams