LLM Prompt Engineering

(C) Copyright Elephant Scale January 28, 2024

Course Description

  • Large Language Models (LLM) are taking the world by storm. It can be ChatGPT, Claude, or Bard, but AI doubling productivity in many occupations.
  • This course teaches how to build applications with LLMs. This includes the basics of LLM scripting and the rules of AI use architecture.

Audience

  • Developers, data scientists, team leads, project managers

Skill Level

  • Beginner to intermediate

Duration

  • Two days

Prerequisites

  • General familiarity with machine learning

Format

  • Lectures and hands-on labs. (50% – 50%)

Lab environment

  • Zero Install: There is no need to install software on students’ machines!
  • A lab environment in the cloud will be provided for students.

Students will need the following

  • A reasonably modern laptop with unrestricted connection to the Internet. Laptops with overly restrictive VPNs or firewalls may not work properly.
    • A checklist to verify connectivity will be provided
  • Chrome browser

Detailed outline

  • Introduction
  • How to formulate a question
  • How to iterate
  • Summarization and is use
  • Inferring from a prompt
  • Transforming the tasks
  • Expanding the LLM interaction
  • Building a real bot
  • Classification
  • Moderation
  • Chain of thought reasoning
  • Chaining prompts
  • Check outputs
  • Workshop