AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

Prompt engineering involves crafting specific inputs, known as prompts, to elicit accurate, relevant, and high-quality responses from generative AI models. It requires understanding how models interpret context, instructions, and examples. Techniques include few-shot learning, chain-of-thought reasoning, and structured formatting. This discipline bridges human intent and machine capability, allowing users to maximize performance without modifying the underlying model weights. It is essential for developers integrating LLMs into applications to ensure reliability and consistency.

Summary

The practice of designing and optimizing input texts to guide large language models toward desired outputs.

Key Concepts

Use Cases

Code Example

1
2
prompt = "Translate the following English text to French: 'Hello world'"
response = llm.generate(prompt)