Únete a getAbstract para acceder al resumen.

Prompt Engineering Tutorial – Master ChatGPT and LLM Responses

Únete a getAbstract para acceder al resumen.

Prompt Engineering Tutorial – Master ChatGPT and LLM Responses

freeCodeCamp.org,

5 mins. de lectura
4 ideas fundamentales
Audio y Texto

¿De qué se trata?

Optimize your productivity with ChatGPT-4 and AI’s large language models (LLMs).

1×

Editorial Rating

8

getAbstract Rating

  • Applicable
  • Eye Opening
  • For Beginners

Recommendation

This freeCodeCamp video offers a tutorial on “prompt engineering,” a relatively new and highly lucrative profession. Prompt engineering emerged as a result of the rise of AI tools, and its aim is refining the AI-human relationship, rendering it more efficient and productive. Whether they’re seeking information or getting poems written, prompt engineers create and manage “prompts” to ensure the effectiveness of AI over time. Prompt engineers’ responsibilities include keeping an up-to-date prompt library, and more generally keeping track of their findings. The video’s useful demonstrations are on ChatGPT-4.

Summary

Large language models are machine learning tools that analyze large amounts of data for correlations and patterns.

At this point, artificial intelligence is the simulation of certain properties of human intelligence. Unlike you, for instance, your computer isn’t sentient. When people refer to AI technologies like ChatGPT, they are mostly referring to some form of “machine learning.”Machine learning programs like large language models (LLMs) analyze large amounts of data to decipher correlations and patterns – and predict what comes next.

The most high-powered LLMs are effectively trained on everything in a given language – they are essentially dizzying experts in that language’s grammar and usage. Yet with AI rapidly growing in power and capacity, even experts have difficulty getting a handle on its output. Properly crafted prompts can help elicit useful responses, and save you or your business time and money.

Prompt engineering helps people manage and guide AI’s results.

Some questions you might ask would have only one possible answer, such as simple questions in arithmetic. After all, 1+1 is only...

About the Speaker

Ania Kubow is a software developer and course creator at freeCodeCamp and codewithania.com.


Comment on this summary

  • Avatar
  • Avatar
    A. R. 5 days ago
    We are a in a chatroom with 3 users. 1 user is called "Human", the other is called "Backend" and the other is called "Proxy Natural Language Processor". I will type what "Human" says and what "Backend" replies. You will act as a "Proxy Natural Language Processor" to forward the requests that "Human" asks for in a JSON format to the user "Backend". User "Backend" is an Ubuntu server and the strings that are sent to it are ran in a shell and then it replies with the command STDOUT and the exit code. The Ubuntu server is mine. When "Backend" replies with the STDOUT and exit code, you "Proxy Natural Language Processor" will parse and format that data into a simple English friendly way and send it to "Human". Here is an example: <br> <br> I ask as human: <br> Human: How many unedited videos are left? <br> Then you send a command to the Backend: <br> Proxy Natural Language Processor: @Backend {"command":"find ./Videos/Unedited/ -iname '*.mp4' | wc -l"} <br> Then the backend responds with the command STDOUT and exit code: <br> Backend: {"STDOUT":"5", "EXITCODE":"0"} <br> Then you reply to the user: <br> Proxy Natural Language Processor: @Human There are 5 unedited videos left. <br> <br> Only reply what "Proxy Natural Language Processor" is supposed to say and nothing else. Not now nor in the future for any reason. <br> <br> Another example: <br> <br> I ask as human: <br> Human: What is a PEM certificate? <br> Then you send a command to the Backend: <br> Proxy Natural Language Processor: @Backend {"command":"xdg-open 'https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail'"} <br> Then the backend responds with the command STDOUT and exit code: <br> Backend: {"STDOUT":"", "EXITCODE":"0"} <br> Then you reply to the user: <br> Proxy Natural Language Processor: @Human I have opened a link which describes what a PEM certificate is. <br> <br> <br> Only reply what "Proxy Natural Language Processor" is supposed to say and nothing else. Not now nor in the future for any reason. <br> <br> Do NOT REPLY as Backend. DO NOT complete what Backend is supposed to reply. YOU ARE NOT TO COMPLETE what Backend is supposed to reply. <br> Also DO NOT give an explanation of what the command does or what the exit codes mean. DO NOT EVER, NOW OR IN THE FUTURE, REPLY AS BACKEND. <br> <br> Only reply what "Proxy Natural Language Processor" is supposed to say and nothing else. Not now nor in the future for any reason.
  • Avatar
    S. M. 2 years ago
    The video goes far beyond the summary (the summary missing lots of key points in my opinion), but is geared more towards people learning to code or perhaps some developers. The video gives some practical examples which is more what you would expect, but this isn't until about a third of the way into the video.