Prompt Engineering 101: Introduction and resources - AI, software, tech, and people, not in that order… by X
You tell the model what to do through a textual interface, and the model tries to accomplish the task. What you tell the model to do in a broad sense is the prompt. In the case of image generation AI models such as DALLE-2 or Stable Diffusion, the prompt is mainly a description of the image you want to generate. In the case of large language models (LLMs) such as GPT-3 or ChatGPT the prompt can contain anything from a simple question ("Who is the president of the US?") to a complicated problem with all kinds of data inserted in the prompt (note that you can even input a CSV file with raw data as part of the input). It can also be a vague statement such as "Tell me a joke. Even more generally, in generative task oriented models such as Gato, the prompt can be extremely high level and define a task you need help with ("I need to organize a one week trip to Greece"). For the rest of this document, and for now, we will focus on the specific use case of prompts for LLMs. In order to obtain a result, either 1 or 2 must be present. Let's see a few examples (all of them using ChatGPT). Beyond asking a simple question, possibly the next level of sophistication in a prompt is to include some instructions on how the model should answer the question. Here I ask for advice on how to write a college essay, but also include instructions on the different aspects I am interested to hear about in the answer. "How should I write my college admission essay?
Jan-30-2023, 04:36:08 GMT
- Country:
- Europe
- Greece (0.25)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.05)
- North America > United States
- Idaho > Twin Falls County > Twin Falls (0.05)
- Europe
- Industry:
- Technology: