Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ Use the following format for your final output:
|
|
113 |
</citations>
|
114 |
</cited_answer>
|
115 |
|
116 |
-
If the answer is not found in the context, respond
|
117 |
"""
|
118 |
|
119 |
qna_user_message_template = """
|
@@ -186,7 +186,7 @@ demo = gr.Interface(
|
|
186 |
description="This web API presents an interface to ask questions on contents of the Tesla 10-K reports for the period 2021 - 2023.",
|
187 |
article="Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
|
188 |
examples=[["What was the total revenue of the company in 2022?", ""],
|
189 |
-
["
|
190 |
["What was the company's debt level in 2023?", ""],
|
191 |
["Summarize 5 key risks identified in the 2023 10k report? Respond with bullet point summaries.", ""],
|
192 |
["What is the view of the management on the future of electric vehicle batteries?",""],
|
|
|
113 |
</citations>
|
114 |
</cited_answer>
|
115 |
|
116 |
+
If the answer is not found in the context, respond: 'Sorry, I do not know the answer'.
|
117 |
"""
|
118 |
|
119 |
qna_user_message_template = """
|
|
|
186 |
description="This web API presents an interface to ask questions on contents of the Tesla 10-K reports for the period 2021 - 2023.",
|
187 |
article="Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
|
188 |
examples=[["What was the total revenue of the company in 2022?", ""],
|
189 |
+
["Present 3 key highlights of the Management Discussion and Analysis section of the 2021 report in 50 words.", ""],
|
190 |
["What was the company's debt level in 2023?", ""],
|
191 |
["Summarize 5 key risks identified in the 2023 10k report? Respond with bullet point summaries.", ""],
|
192 |
["What is the view of the management on the future of electric vehicle batteries?",""],
|