JohnSnowLabs / langtest

Deliver safe & effective language models
http://langtest.org/
Apache License 2.0
470 stars 35 forks source link

Implement the prompt techniques like 5-shot, 10-shot, few-shot, and CoT. #1011

Closed chakravarthik27 closed 2 months ago

chakravarthik27 commented 3 months ago

Overview of Few-Shot Prompting:

Few-shot prompting is an advanced technique used to enhance the performance of a large language model (LLM) by utilizing a small number of targeted examples (known as "shots"). These examples, which comprise specific prompts, are designed to direct the LLM toward desired responses for particular tasks.