{
  "title": "FAQ",
  "video_id": "RRchTwZ3ijY",
  "published": "2023-10-14T12:47:19+0000",
  "complexity": "Normal",
  "old_url": "https://workflows-of-ai.com/workflow/faq",
  "description": "Turn a PDF into an FAQ in Drupal: ConvertAPI extracts the text and OpenAI writes questions and answers into an FAQ Field.",
  "subtitle": "Upload a PDF and get five questions and answers in an FAQ field, written by OpenAI from the text that ConvertAPI extracts.",
  "summary": "A page content type gets a required PDF field, a plain text field filled by ConvertAPI and an FAQ Field filled by OpenAI. The prompt asks for five questions and answers with answers under two sentences, and a higher weight makes sure the text exists first. Uploading a PDF gives an accordion with five questions and answers.",
  "categories": [
    "Drupal AI"
  ],
  "intro_html": "<p>The process begins with uploading a PDF to the AI Interpolator ConvertAPI module. This tool is responsible for converting the PDF into a readable text format. The ConvertAPI does its job, ensuring that the content from the PDF is accurately extracted and ready for the next phase of processing. There’s no complexity here; it's about getting the text out of the PDF as accurately and quickly as possible.</p><p>Next, the extracted text is processed by the AI Interpolator OpenAI module to create an FAQ section. OpenAI’s algorithms sift through the text, picking out key information and structuring it into a question-and-answer format. This formatted FAQ content is then directly populated into the <a href=\"https://www.drupal.org/project/faqfield\">Drupal FAQ Field module</a>. The end result is a clear, concise FAQ section that's been automatically generated, eliminating the manual task of reading through the document and creating an FAQ manually.</p>",
  "intro_added": false,
  "chapters": [
    "0:00 An FAQ from a PDF",
    "0:41 The modules we use",
    "1:49 Creating the PDF file field",
    "3:00 Extracting text with ConvertAPI",
    "3:37 The FAQ field and prompt",
    "6:23 Uploading a PDF"
  ],
  "corrections": [
    [
      "convert API",
      "ConvertAPI"
    ],
    [
      "open AI",
      "OpenAI"
    ],
    [
      "droup bow",
      "Drupal"
    ],
    [
      "cont module",
      "contrib module"
    ],
    [
      "AI interpolator",
      "AI Interpolator"
    ]
  ],
  "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."
}