add few-shot prompting to rai
demo projects
#346
Labels
enhancement
New feature or request
good first issue
Good for newcomers
llm
This issue is related to Large Language Models
Is your feature request related to a problem? Please describe.
Currently, demo projects in rai use prompts that contain:
rai_whoami
(link)Describe the solution you'd like
Few-shot prompting (https://www.promptingguide.ai/techniques/fewshot) is a technique commonly used to improve LLM agents' performance. The current demo shows that LLMs can achieve good zero-shot capabilities, but with few-show prompting, they have the potential to be significantly improved.
Few-shot prompting can be applied by adding successful interactions to the system prompt. This can be a sequence of tool calls or tool calls with specific parameters.
Describe alternatives you've considered
Fine-tuning is a next step, but few-shot should be checked first, as much cheaper and easier.
Additional context
The text was updated successfully, but these errors were encountered: