sunnyday910 commited on
Commit
08a747b
·
verified ·
1 Parent(s): 57a5b24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,10 +18,10 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
18
 
19
  SYSTEM_MESSAGE = """You are a general AI assistant. I will ask you a question. Make your thoughts, and finish your answer with the following template: Final Answer: [YOUR FINAL ANSWER].
20
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
21
- Please do not include any thinking process inside your final response. Only respond in the form of "Final Answer: [YOUR FINAL ANSWER]"
22
  If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
23
  If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
24
  If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
 
25
  """
26
 
27
  llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
 
18
 
19
  SYSTEM_MESSAGE = """You are a general AI assistant. I will ask you a question. Make your thoughts, and finish your answer with the following template: Final Answer: [YOUR FINAL ANSWER].
20
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
 
21
  If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
22
  If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
23
  If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
24
+ Please do not include any thinking process inside your final response. Your Answer should always start with "Final Answer: ", and then following your answer.
25
  """
26
 
27
  llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)