Using LLMs to Generate Tags

Episode #463 by Teacher's Avatar David Kimura

Summary

In this episode we'll explore how to use AI to generate tags. We'll cover setting up a self-hosted solution using OpenWebUI and Olama within Docker. And, learn to use the AI to generate and update tags automatically through a background job.
rails artificial intelligence tags 19:55

Chapters

  • Introduction (0:00)
  • Running Open WebUI and Ollama (1:57)
  • Getting your API Key and downloading a model (2:32)
  • Creating a custom Model and Prompt (3:48)
  • Generating Scaffold and Models (5:26)
  • Quick test of generated scaffold (6:26)
  • Setting up callbacks (6:54)
  • Creating background jobs (8:07)
  • Creating the Ollama service (10:26)
  • Testing out the Ollama service (16:08)
  • Displaying the tags (17:38)
  • Final thoughts (18:53)
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