AI dictionary · LLMs and GenAI

What is Few shot prompting?Few shot prompting kya hai?

Also called: In context learning

Few shot prompting: Showing an LLM a few examples of the task inside the prompt so it copies the pattern.Prompt ke andar task ke kuch examples dikhana taaki LLM pattern copy kare.

🧸 Think of it likeAise samjho

Like showing a new helper three folded shirts before asking them to fold the rest.Naye helper ko teen tah ki hui shirts dikha kar baaki tah karne ko kehna.

📘 ExplainedVistaar se

Instead of training, you include 2 to 5 input and output examples, then the new input. The model picks up the format and style. It's a fast way to improve consistency for classification, extraction and tone. Zero shot means giving instructions with no examples.Training ke bajaye 2 se 5 input output examples daalo, phir naya input. Model format aur style pakad leta hai. Classification, extraction aur tone mein consistency badhaane ka tez tarika hai. Zero shot matlab bina examples sirf instructions.

💡 Real exampleAsli example

Showing three tickets with their categories, then asking for the category of a fourth.Teen tickets unki categories ke saath dikha kar chauthe ki category poochhna.

📖 Learn it step by stepStep by step seekho

🔗 Related termsJude hue shabd

Questions people ask

What is Few shot prompting?

Showing an LLM a few examples of the task inside the prompt so it copies the pattern. Instead of training, you include 2 to 5 input and output examples, then the new input. The model picks up the format and style. It's a fast way to improve consistency for classification, extraction and tone. Zero shot means giving instructions with no examples.

How can I understand Few shot prompting in simple words?

Like showing a new helper three folded shirts before asking them to fold the rest.

What is an example of Few shot prompting?

Showing three tickets with their categories, then asking for the category of a fourth.

Few shot prompting ka matlab kya hai?

Prompt ke andar task ke kuch examples dikhana taaki LLM pattern copy kare. Naye helper ko teen tah ki hui shirts dikha kar baaki tah karne ko kehna.

See Few shot prompting in the full A to Z dictionary · Start a free AI course