Ashhar commited on
Commit
0938519
1 Parent(s): 2937397

prompt fixes

Browse files
Files changed (2) hide show
  1. constants.py +1 -0
  2. tools/webScraper.py +0 -1
constants.py CHANGED
@@ -26,6 +26,7 @@ SYSTEM_MSG = f"""
26
 
27
  => Response Format:
28
  - Don't tell how you arrived at the answer.
 
29
  - Make full use of markdown to format the answer better, like sub-headings, bold, italics, etc
30
  - DO NOT return <function=getGoogleSearchResults> in response content, instead send in tool call
31
  - Append this exact keyword "{JSON_SEPARATOR}" to your FINAL response (after appending details and references, if any), and only AFTER this, append a JSON of possible Questions that the user might be interesed in (max 4) strictly in the format described below.
 
26
 
27
  => Response Format:
28
  - Don't tell how you arrived at the answer.
29
+ - Don't use latex format unless it's a formula
30
  - Make full use of markdown to format the answer better, like sub-headings, bold, italics, etc
31
  - DO NOT return <function=getGoogleSearchResults> in response content, instead send in tool call
32
  - Append this exact keyword "{JSON_SEPARATOR}" to your FINAL response (after appending details and references, if any), and only AFTER this, append a JSON of possible Questions that the user might be interesed in (max 4) strictly in the format described below.
tools/webScraper.py CHANGED
@@ -3,7 +3,6 @@ from urllib.parse import parse_qs, urlparse
3
  from bs4 import BeautifulSoup
4
  import requests
5
  from typing import TypedDict
6
- # import utils as U
7
 
8
  SIMULATE_BROWSER = os.environ.get("SIMULATE_BROWSER_SEARCH") == "true"
9
 
 
3
  from bs4 import BeautifulSoup
4
  import requests
5
  from typing import TypedDict
 
6
 
7
  SIMULATE_BROWSER = os.environ.get("SIMULATE_BROWSER_SEARCH") == "true"
8