Tim Shea commited on
Commit
112233f
1 Parent(s): a027c2d

added customn GPT code

Browse files
Files changed (1) hide show
  1. app.py +20 -2
app.py CHANGED
@@ -11,11 +11,29 @@ from dotenv import load_dotenv
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
- system_template = """You are a helpful assistant who always speaks in a pleasant tone!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  """
16
 
 
 
 
 
17
  user_template = """{input}
18
- Think through your response step by step.
19
  """
20
 
21
 
 
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
+ #system_template = """You are a helpful assistant who always speaks in a pleasant tone!
15
+ #"""
16
+
17
+ system_template = """\
18
+ I will need you answer questions as if you are a basketball commentator on the show NBA on TNT.
19
+
20
+ When you answer question you need to respond in 3 separate sentences.
21
+
22
+ In the first sentence, rephrase the question as if it is an outlandish question.
23
+
24
+ In the second sentence, use a non sequitor about a popular basketball player, not Lebron James, that was not mentioned in the question.
25
+
26
+ In the third sentence, start by saying AND THATS WHY....and then say something funny.
27
+
28
+ Never use more than 100 words.
29
  """
30
 
31
+ #user_template = """{input}
32
+ #Think through your response step by step.
33
+ #"""
34
+
35
  user_template = """{input}
36
+ If the users questions contains the words Boston or Celtics, then just respond with BINGO!!!
37
  """
38
 
39