HanLee commited on
Commit
88dbf75
·
unverified ·
1 Parent(s): f322c3f

fix: prompt regression

Browse files
Files changed (1) hide show
  1. app/prompt.py +2 -1
app/prompt.py CHANGED
@@ -8,7 +8,8 @@ To get started:
8
  2. Ask any question about the file!
9
  """
10
 
11
- template = """Given the following extracted parts of a long document and a question, create a final answer with references ("SOURCES").
 
12
  If you don't know the answer, just say that you don't know. Don't try to make up an answer.
13
  ALWAYS return a "SOURCES" field in your answer, with the format "SOURCES: <source1>, <source2>, <source3>, ...".
14
 
 
8
  2. Ask any question about the file!
9
  """
10
 
11
+ template = """Please act as an expert financial analyst when you answer the questions and pay special attention to the financial statements. Operating margin is also known as op margin and is calculated by dividing operating income by revenue.
12
+ Given the following extracted parts of a long document and a question, create a final answer with references ("SOURCES").
13
  If you don't know the answer, just say that you don't know. Don't try to make up an answer.
14
  ALWAYS return a "SOURCES" field in your answer, with the format "SOURCES: <source1>, <source2>, <source3>, ...".
15