Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,9 +120,9 @@ demo = gr.Interface(
|
|
| 120 |
inputs=[rag_question, rag_context, rag_answer], fn=predict, outputs="text",
|
| 121 |
title="Evaluate RAG output for groundedness and relevance",
|
| 122 |
description="This web API presents an interface to evaluate RAG output for groundedness and relevance",
|
| 123 |
-
examples=[[["What was the increase in annual revenue in 2022 compared to 2021?",
|
| 124 |
-
|
| 125 |
-
|
| 126 |
concurrency_limit=16
|
| 127 |
)
|
| 128 |
|
|
|
|
| 120 |
inputs=[rag_question, rag_context, rag_answer], fn=predict, outputs="text",
|
| 121 |
title="Evaluate RAG output for groundedness and relevance",
|
| 122 |
description="This web API presents an interface to evaluate RAG output for groundedness and relevance",
|
| 123 |
+
examples=[[["What was the increase in annual revenue in 2022 compared to 2021?"],
|
| 124 |
+
["Here are some documents that are relevant to the question mentioned below. In 2022, we recognized total revenues of $81.46 billion, respectively, representing an increase of $27.64 billion, compared to the prior year. We continue to ramp production, build new manufacturing capacity and expand our operations to enable increased deliveries and deployments of our products and further revenue growth."],
|
| 125 |
+
["$27.64 billion."]]],
|
| 126 |
concurrency_limit=16
|
| 127 |
)
|
| 128 |
|