Added factual and subjective examples
Browse files
app.py
CHANGED
@@ -81,8 +81,13 @@ textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
|
|
81 |
interface = gr.Interface(
|
82 |
inputs=textbox, fn=predict, outputs="text",
|
83 |
title="AMA on Tesla 2022 10-K",
|
84 |
-
description="This web API presents an interface to ask questions on contents of the Tesla
|
85 |
article="Note that questions that are not relevent to the Tesla 10-K report will not be answered.",
|
|
|
|
|
|
|
|
|
|
|
86 |
allow_flagging="manual", flagging_options=["Useful", "Not Useful"]
|
87 |
)
|
88 |
|
|
|
81 |
interface = gr.Interface(
|
82 |
inputs=textbox, fn=predict, outputs="text",
|
83 |
title="AMA on Tesla 2022 10-K",
|
84 |
+
description="This web API presents an interface to ask questions on contents of the Tesla 10-K reports for the period 2019 - 2023.",
|
85 |
article="Note that questions that are not relevent to the Tesla 10-K report will not be answered.",
|
86 |
+
examples=[["What was the total revenue of the company in 2022?", "$ 81.46 Billion"],
|
87 |
+
["Summarize the Management Discussion and Analysis section of the 2021 report in 50 words.", ""],
|
88 |
+
["What is the company's debt level in 2020?", ""],
|
89 |
+
["Identify 5 key risks identified in the 2019 10k report? Respond with bullet point summaries.", ""]
|
90 |
+
],
|
91 |
allow_flagging="manual", flagging_options=["Useful", "Not Useful"]
|
92 |
)
|
93 |
|