Skip to content

Commit

Permalink
Change prompt example
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwiktrammer committed Oct 3, 2024
1 parent de34ee2 commit 5f4f105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ragbits-core/examples/prompt_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5f4f105

Please sign in to comment.