Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,10 @@ def get_advanced_evaluation(kb, question, answer):
|
|
| 59 |
{{"criterion": "...", "satisfied": true, "confidence": 95}}
|
| 60 |
],
|
| 61 |
"irrelevant_snippets": ["...", "..."],
|
| 62 |
-
"contradictions": [
|
|
|
|
|
|
|
|
|
|
| 63 |
"suggested_mark": 85,
|
| 64 |
"feedback": "..."
|
| 65 |
}}
|
|
|
|
| 59 |
{{"criterion": "...", "satisfied": true, "confidence": 95}}
|
| 60 |
],
|
| 61 |
"irrelevant_snippets": ["...", "..."],
|
| 62 |
+
"contradictions": [
|
| 63 |
+
{{"snippet": "...", "start": <character start position in user's response>, "end": <character end position in user's response>, "reason": "..."}}
|
| 64 |
+
],
|
| 65 |
+
,
|
| 66 |
"suggested_mark": 85,
|
| 67 |
"feedback": "..."
|
| 68 |
}}
|