Was Sie vorher wissen sollten
bevor Sie beginnen

Beginnt 4 June 2026 04:26

Endet 4 June 2026

00 Tage
00 Stunden
00 Minuten
00 Sekunden
course image

Recipe Generation & Extraction with AI and Node.js

Discover how to build intelligent recipe applications using OpenAI's SDK and Node.js. Generate structured recipes from ingredients, extract data from HTML, and create robust LLM-powered tools.
via CodeSignal

177 Kurse


3 hours

Optionales Upgrade verfügbar

Mittelstufe

Lernen Sie in Ihrem eigenen Tempo

Free Certificate

Optionales Upgrade verfügbar

Übersicht

Add intelligence to your app using OpenAI’s SDK. Generate structured recipes from ingredients with prompt templates, call the API, and process outputs.

Build a script to extract recipes from messy HTML and store them cleanly.

Lehrplan

  • Unit 1: Making Your First LLM Call
  • Initialize OpenAI Client
    System Prompt Persona Transformation
    Update User Prompt to Arrow Functions in TypeScript
    Exploring Temperature Effects on AI Responses
    Model Selection and Comparison Loop
  • Unit 2: Prompt Templates and Variables
  • Implement loadTemplate Function for Static Prompts
    Implement renderTemplate Function
    Implement Custom Variable Substitution in Template Renderer
    Complete renderPromptFromFile Function
    Recipe Generator Prompt Template
  • Unit 3: Building the LLM Manager
  • Setup OpenAI Client in LLM Service
    Implement Prompt Rendering in generateResponse Function
    Integrate OpenAI Chat Completion in generateResponse
    Add Robust Error Handling to LLM Manager API Calls
  • Unit 4: AI Recipe Generation
  • Create Prompt Templates for Recipe Generation
    Implement Input Validation for Recipe Generation Route
    AI Recipe Generation Integration
    Implement Recipe Parsing Foundation
    Implement Recipe Parsing Logic
    Complete Recipe Generation Endpoint
  • Unit 5: Extracting Recipes from HTML
  • Create Recipe Extraction Prompt Templates
    Implement the extractRecipeFromHtml Function
    Implement parseRecipeString Function
    Implement Recipe Database Storage with Duplicate Check
    Implement Recipe Extraction CLI

Fachgebiete

Programming