Log in
Enquire now
Prompt engineering

Prompt engineering

Prompt engineering is the process of creating inputs for AI models to improve the output for a given task.

OverviewStructured DataIssuesContributors

Contents

Is a
Industry
Industry

Industry attributes

Parent Industry
Artificial Intelligence (AI)
Artificial Intelligence (AI)

Other attributes

Related Industries
Generative AI
Generative AI
Natural language processing (NLP)
Natural language processing (NLP)
Wikidata ID
Q108941486
Overview

Prompt engineering is the process of creating inputs for AI models to improve the output for a given task. A prompt is a broad instruction that triggers an AI model to generate content; it could be a statement, a block of code, or a string of words. After receiving the prompt or input, an AI model produces an output in response. The quality of the output can vary considerably depending on the prompt provided. Prompt engineering aims to improve the use of AI models by determining the best way to write or structure prompts for specific tasks. This process includes selecting the appropriate data type and formatting it so the model can understand and use it to learn. Prompt engineering creates higher-quality training data to enable the AI model to make accurate outputs. With the wider adoption of generative AI models, prompt engineering is becoming an important field, determining input methods that yield desirable and useful results.

Prompts

The primary means of communication between users and generative AI models is text, and prompt engineering is closely linked to natural language processing (NLP) and how machines decipher the meaning behind a piece of text. Prompts typically have an instruction or question, and they may also contain input data and examples. Successful prompt engineering determines the best way to combine these elements for a given task.

Principles

While prompt engineering varies depending on the model and the type of content it generates (e.g., text, image, etc.), prompt engineers have developed a general set of principles to improve the output quality from generative AI models. These include the following:

  • Trying multiple formulations of the prompt to get the best results
  • Providing context and examples
  • Making sure the instructions come before the context
  • Using clear and brief prompts and avoiding unnecessary words

Timeline

No Timeline data yet.

Companies in this industry

Further Resources

Title
Author
Link
Type
Date

Prompt-Engineering-Guide: Guides, papers, lecture, and resources for prompt engineering

https://github.com/dair-ai/Prompt-Engineering-Guide

Web

Wolfram Prompt Repository

https://resources.wolframcloud.com/PromptRepository/

Web

References

Find more entities like Prompt engineering

Use the Golden Query Tool to find similar entities by any field in the Knowledge Graph, including industry, location, and more.
Open Query Tool
Access by API
Golden Query Tool
Golden logo

Company

  • Home
  • Press & Media
  • Blog
  • Careers
  • WE'RE HIRING

Products

  • Knowledge Graph
  • Query Tool
  • Data Requests
  • Knowledge Storage
  • API
  • Pricing
  • Enterprise
  • ChatGPT Plugin

Legal

  • Terms of Service
  • Enterprise Terms of Service
  • Privacy Policy

Help

  • Help center
  • API Documentation
  • Contact Us
By using this site, you agree to our Terms of Service.