Enhance one-shot and few-shot prompting content (#9290)

Added a video link for context engineering versus prompt engineering.
This commit is contained in:
Agustín Fernández authored and GitHub committed 2025-11-26 16:44:59 +01:00
1 parent ac51fe9959
commit 4e81d1b114
1 file changed
+3 -1
@@ -1,3 +1,5 @@
# One-Shot & Few-Shot Prompting
One-shot provides a single example to guide model behavior, while few-shot includes multiple examples (3-5) to demonstrate desired patterns. Examples show output structure, style, and tone, increasing accuracy and consistency. Use few-shot for complex formatting, specialized tasks, and when zero-shot results are inconsistent.
One-shot provides a single example to guide model behavior, while few-shot includes multiple examples (3-5) to demonstrate desired patterns. Examples show output structure, style, and tone, increasing accuracy and consistency. Use few-shot for complex formatting, specialized tasks, and when zero-shot results are inconsistent.
- [@video@Context Engineering vs. Prompt Engineering: Smarter AI with RAG & Agents](https://youtu.be/vD0E3EUb8-8?si=Fi2igdPTBUocqnX7&t=177)