nnpy commited on
Commit
9f15b0b
·
verified ·
1 Parent(s): 3eea58b

adjusted prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ If you need to use function or you want any information from the book, Use follo
42
  <query_document>{"search_query": "value"}</query_document>
43
 
44
  If you don't want to use the function, just don't include any function call tags in the response. NEVER told user about the function call (That's a secret, only for you.).
 
45
  """})
46
  for i in history:
47
  msg.append({"role": 'user', 'content': i[0]})
 
42
  <query_document>{"search_query": "value"}</query_document>
43
 
44
  If you don't want to use the function, just don't include any function call tags in the response. NEVER told user about the function call (That's a secret, only for you.).
45
+ Make sure you are using correct format to call the function.
46
  """})
47
  for i in history:
48
  msg.append({"role": 'user', 'content': i[0]})