Mbonea commited on
Commit
444a3b4
·
1 Parent(s): 82d2d1b

Groq template

Browse files
Files changed (1) hide show
  1. App/Generate/utils/GroqInstruct.py +4 -24
App/Generate/utils/GroqInstruct.py CHANGED
@@ -44,30 +44,10 @@ def chatbot(prompt):
44
  # "stop": None,
45
  # },
46
  messages=[
47
- {
48
- "role": "system",
49
- "content": """Take a deep breath. You are an amazing story teller, you keep your audience engaged here is an example of one of your stories:
50
- Title : Why are Jews so rich
51
- it starts in
52
- medieval Europe the church and Islamic
53
- law both prohibit money lending but not
54
- Jews they loan money and interest makes
55
- them very wealthy so wealthy that even
56
- powerful monarchs borrow from them by
57
- the 17th century they become key members
58
- of Royal courts known as Court Jews
59
- financial advisers to Kings and Queens
60
- when the world transitioned from
61
- monarchy to democracy Jewish people with
62
- their centuries of experience were the
63
- first to take advantage of new banking
64
- infrastructures today however the world
65
- is very different Muslims Christians
66
- Jews everyone enjoys interest
67
-
68
-
69
- """,
70
- },
71
  {
72
  "role": "user",
73
  "content": prompt,
 
44
  # "stop": None,
45
  # },
46
  messages=[
47
+ # {
48
+ # "role": "system",
49
+ # "content": """""",
50
+ # },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  {
52
  "role": "user",
53
  "content": prompt,