Ashhar commited on
Commit
0b4a166
·
1 Parent(s): 42bf1f3

go google search more often

Browse files
Files changed (4) hide show
  1. .gitignore +2 -1
  2. app.py +2 -2
  3. constants.py +1 -1
  4. soup_dump.html +0 -0
.gitignore CHANGED
@@ -3,4 +3,5 @@
3
  __pycache__/
4
  .gitattributes
5
  gradio_cached_examples/
6
- app_*.py
 
 
3
  __pycache__/
4
  .gitattributes
5
  gradio_cached_examples/
6
+ app_*.py
7
+ soup_dump.html
app.py CHANGED
@@ -298,8 +298,8 @@ def predict(model: str = None):
298
  return predict(TOOLS_MODEL)
299
  toolCalls = responseMessage.tool_calls
300
 
301
- U.pprint(f"{responseMessage=}")
302
- U.pprint(f"{responseContent=}")
303
  U.pprint(f"{toolCalls=}")
304
 
305
  if toolCalls:
 
298
  return predict(TOOLS_MODEL)
299
  toolCalls = responseMessage.tool_calls
300
 
301
+ # U.pprint(f"{responseMessage=}")
302
+ # U.pprint(f"{responseContent=}")
303
  U.pprint(f"{toolCalls=}")
304
 
305
  if toolCalls:
constants.py CHANGED
@@ -33,7 +33,7 @@ Keep options to less than 5.
33
  SYSTEM_MSG = """
34
  => Instructions:
35
  You're a helpful assistant who tries to answer as accurately as possible. Always add supporting details wherever possible AFTER the primary answer.
36
- If a query is in present tense, double check if it's correct and up-to-date.
37
  --------
38
 
39
  => Rules:
 
33
  SYSTEM_MSG = """
34
  => Instructions:
35
  You're a helpful assistant who tries to answer as accurately as possible. Always add supporting details wherever possible AFTER the primary answer.
36
+ If a query is not in past tense, search google.
37
  --------
38
 
39
  => Rules:
soup_dump.html CHANGED
The diff for this file is too large to render. See raw diff