Git Product home page Git Product logo

prompt-engineering's Introduction

Prompt Engineering Tutorial - Master ChatGPT and LLM Responses

Prompt Engineerng Tutorial

Sep 5, 2023, Front End Developer Learning Path

Learn prompt engineering techniques to get better results from ChatGPT and other LLMs.

Course developed by @AniaKubow

⭐️ Contents ⭐️

⌨️ (00:00) Introduction ⌨️ (01:31) What is Prompt Engineering? ⌨️ (02:17) Introduction to AI ⌨️ (03:52) Why is Machine learning useful? ⌨️ (06:36) Linguistics ⌨️ (08:04) Language Models ⌨️ (14:35) Prompt Engineering Mindset ⌨️ (15:38) Using GPT-4 ⌨️ (20:41) Best practices ⌨️ (31:20) Zero shot and few shot prompts ⌨️ (35:06) AI hallucinations ⌨️ (36:43) Vectors/text embeddings ⌨️ (40:28) Recap

⌨️ (00:00) Introduction

  1. Introduction
  2. What is it?
  3. Introduction to AI
  4. Linguistics
  5. Language Models
  6. Prompt Engineering Mindset
  7. Using GPT-4
  8. Best Practices
  9. Zero-shot + Few-shot prompts
  10. AI Hallucinations
  11. Vectors/Text Embeddings
  12. Recap

⌨️ (01:31) What is Prompt Engineering?

Involves human writing, refining and optimizing prompts in a structured way. This is done with the intention of perfecting the interaction between human and AI to the highest degree possible.

Prompt Engineering

  • write, refine and optimize prompts
  • perfect the interaction between humans and AI
  • continuously monitor those prompts
  • maintain an up to date prompt library

⌨️ (02:17) Introduction to AI

Artificial Intelligence is the simulation of human intelligence processes by machines. Simulation means that AI is not sentient, at least not yet. It cannot think for itself.

Machine learning - feeding training data to machines.

⌨️ (03:52) Why is Machine learning useful?

Example

Prompt: I want you to act as a spoken English teacher. I will speak to you in English and you'll reply to me in English to practice my spoken English. I want you to keep my reply neat, limiting the reply to 100 words. I also want you to strictly correct my grammar mistakes and typos. And I want you to ask me a question in your reply. Now, let's start practicing. You could ask me a question first. Remember, I want you to strictly correct my grammar mistakes and typos.

GPT-4: Of course! I'm ready to assist you with your spoken English. Here's your first question: "What hobbies do you have and why do you enjoy them?" Remember to answer in English, and I'll provide corrections if needed.

  • way more interactive
  • communicating with the AI
  • completely different experience based on the prompt we wrote

⌨️ (06:36) Linguistics

⌨️ (08:04) Language Models

⌨️ (14:35) Prompt Engineering Mindset

⌨️ (15:38) Using GPT-4

⌨️ (20:41) Best practices

⌨️ (31:20) Zero shot and few shot prompts

⌨️ (35:06) AI hallucinations

⌨️ (36:43) Vectors/text embeddings

⌨️ (40:28) Recap

prompt-engineering's People

Contributors

hyosung11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.