{
  "title": "AI module #1",
  "video_id": "s1O_KjSnFqU",
  "published": "2024-06-21T15:52:50+0000",
  "complexity": "",
  "old_url": "https://workflows-of-ai.com/workflow/ai-module-1",
  "description": "Developer intro to the Drupal AI module: call any provider through one service, swap OpenAI for Groq or DreamStudio, get keys and events.",
  "subtitle": "Why developers should build on the AI module: one service for every provider, normalized calls and models you can swap in one line.",
  "summary": "The AI module is a new foundation and abstraction layer for AI providers in Drupal, and the AI Interpolator will move into it as AI Automator. Marcus compares a hand-written OpenAI client call with the AI provider service, using normalized input and output and a helper that saves a generated image as an image reference. He then swaps to Groq and DreamStudio and explains the shared key handling, events and logging.",
  "categories": [
    "Drupal AI"
  ],
  "intro_html": "<p>Introducing the AI module (<a href=\"https://www.drupal.org/project/ai\">https://www.drupal.org/project/ai</a>).</p><p>I will showcase a lot of videos about the AI module. In this first video we are showcasing why you should use the AI module as a foundation layer for your private or contributed modules.</p><p>This will help you with getting access to clients, switching providers, setting up the providers and much, much more.</p>",
  "intro_added": false,
  "chapters": [
    "0:00 A foundation module for Drupal AI",
    "1:53 Where the abstraction layer comes from",
    "2:30 AI Core and the providers",
    "3:27 Calling the OpenAI client directly",
    "5:26 Using the AI provider service",
    "7:56 Image helpers on the output",
    "9:15 Swapping to Groq and DreamStudio",
    "10:38 Keys, events and logging"
  ],
  "corrections": [
    [
      "freely give",
      "FreelyGive"
    ],
    [
      "druple",
      "Drupal"
    ],
    [
      "open AI",
      "OpenAI"
    ],
    [
      "open Ai",
      "OpenAI"
    ],
    [
      "hugging face",
      "Hugging Face"
    ],
    [
      "no Lama",
      "Ollama"
    ],
    [
      "Michael gov",
      "Michal Gow"
    ],
    [
      "SEO go",
      "seogow"
    ],
    [
      "a i automator",
      "AI Automator"
    ],
    [
      "augmentor AI",
      "Augmentor AI"
    ],
    [
      "gpt3 to five turbo",
      "GPT-3.5 Turbo"
    ],
    [
      "GPT three to five turbo",
      "GPT-3.5 Turbo"
    ],
    [
      "fireworks AI",
      "Fireworks AI"
    ],
    [
      "Croc",
      "Groq"
    ],
    [
      "groc",
      "Groq"
    ],
    [
      "dream Studio",
      "DreamStudio"
    ],
    [
      "anthropic",
      "Anthropic"
    ],
    [
      "Json",
      "JSON"
    ]
  ],
  "ai_note": "The video and the introduction are Marcus's own, first published on workflows-of-ai.com. AI wrote the subtitle, the summary and the video chapters from the transcript, and corrected misheard names in YouTube's automatic captions."
}