{
  "title": "Compare News Sources",
  "video_id": "YtZpk_8osMo",
  "published": "2023-10-13T20:31:42+0000",
  "complexity": "Normal",
  "old_url": "https://workflows-of-ai.com/workflow/compare-news-sources",
  "description": "Scrape a CNN and a Fox News article with the AI Interpolator ScrapingBot rule and have OpenAI compare their tone and sentiment in Drupal.",
  "subtitle": "Scrape two news articles on the same topic and let AI compare their tone and sentiment side by side.",
  "summary": "A content type takes two links, one to CNN and one to Fox News, both about AI and the labor market. ScrapingBot fields scrape each article's main content, and an OpenAI rule in advanced mode uses tokens to compare both texts in eight sentences on tone and sentiment. The workflow is already set up, so the video walks through the fields and runs it once.",
  "categories": [
    "Drupal AI"
  ],
  "intro_html": "<p>In this workflow, we begin by utilizing the AI Interpolator ScrapingBot module to extract content from CNN and FOX News. I'm looking to obtain articles related to Generative AI from both sources. The ScrapingBot module is straightforward in its application; it's tasked with retrieving the full articles, ensuring all relevant content is captured for analysis.</p><p>Once the articles are scraped, they’re fed into the AI Interpolator OpenAI module. The OpenAI algorithms, renowned for their accuracy, evaluate the content to determine the sentiment and tone. Each article is assessed independently, focusing on the inherent nuances and linguistic elements that reveal the underlying sentiments and perspectives presented in the articles.</p><p>The outcome is a clear analysis that delineates the differences in sentiment and tone between the two articles. It offers a glimpse into how each media outlet approaches the topic of Generative AI, without added complexity. This isn’t about flashy presentations or intricate displays, but a clear, concise and factual representation of the sentiments and tones embodied in the respective articles. This workflow simplifies the process of comparing content from different sources, making the task manageable and efficient.</p>",
  "intro_added": false,
  "chapters": [
    "0:00 CNN versus Fox News on AI",
    "1:10 Content type and link fields",
    "2:00 Scraping with ScrapingBot",
    "2:47 The diff sentiment prompt",
    "4:40 Running the comparison",
    "5:36 Reading the analysis"
  ],
  "corrections": [
    [
      "druple",
      "Drupal"
    ],
    [
      "truple",
      "Drupal"
    ],
    [
      "scraping bot",
      "ScrapingBot"
    ],
    [
      "gp4 because",
      "GPT-4 because"
    ],
    [
      "gdpr",
      "GDPR"
    ]
  ],
  "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."
}