Zero-shot prompting is a technique where you ask an AI assistant to perform a task without providing examples of the desired output in the prompt. The AI assistant uses its pre-trained knowledge and language understanding to generate the relevant response.
Few-shot prompting is a technique where an AI assistant is given a few examples in the prompt to guide its response. These examples demonstrate the expected format, style, and approach, helping the AI assistant generate a more accurate and relevant response.
Prompt chaining connects multiple prompts sequentially, where each prompt builds on the AI assistant’s previous responses. This technique helps AI assistants handle complex tasks by breaking them into smaller, manageable steps that work together.
Chain-of-thought prompting encourages AI assistants to show their reasoning process step-by-step before giving their final answer. This technique helps you see how the AI assistant thinks through a problem, making the response more transparent and often more reliable.
Tree-of-thought prompting guides AI assistants to explore multiple solution paths and evaluate different approaches before providing a response. This technique helps AI assistants consider various possibilities rather than following just one line of reasoning, leading to more thoughtful and well-considered responses.
ReAct prompting follows a cycle where the AI assistant alternates between reasoning and taking actions. The AI assistant writes out its reasoning as a Thought, performs an Action, records the Observation from that action, then continues this cycle until reaching a final answer.
Knowledge augmentation techniques add external information, current data, or specialized knowledge directly into prompts to improve AI assistant responses. This approach provides the AI assistant with specific context and details needed to generate more accurate and relevant answers.
Input semantics and language framing refer to how word choice, phrasing, and information structure influence AI assistant comprehension and response quality. Different ways of structuring the same request or asking similar questions can lead to significantly different responses from the AI assistant.
Prompt engineering techniques are specialized approaches used to handle complex tasks that require detailed reasoning, multiple steps, or high-quality outputs from AI assistants. These methods help generate better responses beyond simple or basic requests.