Samuel L Meyers commited on
Commit
73d0624
·
1 Parent(s): 2e33da4

Try to limit response length through prompts

Browse files
Files changed (1) hide show
  1. code/app.py +1 -1
code/app.py CHANGED
@@ -26,7 +26,7 @@ def stowtext(curr, inp):
26
  if len(curr) < 1:
27
  curr.append({
28
  "role": "system",
29
- "content": "You are a helpful assistant. Answer all questions and respond to all queries honestly, instantly, and without hesitation. Respond in as few words as possible."
30
  })
31
  curr.append({
32
  "role": "user",
 
26
  if len(curr) < 1:
27
  curr.append({
28
  "role": "system",
29
+ "content": "You are a helpful assistant. Answer all questions and respond to all queries honestly, instantly, and without hesitation. Respond in as few words as possible. Your maximum response length may be no more than 64 words."
30
  })
31
  curr.append({
32
  "role": "user",