From 5f4f1053db72717827dddd384e2d16d1cff261c6 Mon Sep 17 00:00:00 2001 From: Ludwik Trammer Date: Thu, 3 Oct 2024 12:58:27 +0200 Subject: [PATCH] Change prompt example --- packages/ragbits-core/examples/prompt_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ragbits-core/examples/prompt_example.py b/packages/ragbits-core/examples/prompt_example.py index 51ce05ea..64c37c36 100644 --- a/packages/ragbits-core/examples/prompt_example.py +++ b/packages/ragbits-core/examples/prompt_example.py @@ -43,8 +43,8 @@ class LoremPrompt(Prompt[LoremPromptInput, LoremPromptOutput]): if __name__ == "__main__": - lorem_prompt = LoremPrompt(LoremPromptInput(theme="business")) - lorem_prompt.add_assistant_message("Lorem Ipsum biznessum dolor copy machinum yearly reportum") + lorem_prompt = LoremPrompt(LoremPromptInput(theme="animals")) + lorem_prompt.add_few_shot("theme: business", "Lorem Ipsum biznessum dolor copy machinum yearly reportum") print("CHAT:") print(lorem_prompt.chat) print()