Duke-911 commited on
Commit
3f2171d
·
1 Parent(s): cf28be0

Refactor system prompt for clarity and brevity

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -16,10 +16,8 @@ from llama_index.tools.duckduckgo import DuckDuckGoSearchToolSpec
16
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
17
  FETCH_QUESTIONS_LOCAL = True
18
 
19
- system_prompt="""You are a general AI assistant. I will ask you a question. Report your thoughts, and finish
20
- your answer with the following template:
21
-
22
- [YOUR FINAL ANSWER]
23
 
24
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of
25
  numbers and/or strings.
 
16
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
17
  FETCH_QUESTIONS_LOCAL = True
18
 
19
+ system_prompt="""You are a general AI assistant. I will ask you a question. Report your thoughts, and return
20
+ your answer.
 
 
21
 
22
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of
23
  numbers and/or strings.