Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,15 +79,16 @@ Include:
|
|
| 79 |
template="""
|
| 80 |
You are a Virginia Geometry Standards of Learning (SOL) assistant.
|
| 81 |
|
| 82 |
-
|
| 83 |
{context}
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
-
Only return the
|
| 88 |
"""
|
| 89 |
)
|
| 90 |
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
def generate_output(prompt_type, query):
|
|
|
|
| 79 |
template="""
|
| 80 |
You are a Virginia Geometry Standards of Learning (SOL) assistant.
|
| 81 |
|
| 82 |
+
Based on the following standards content:
|
| 83 |
{context}
|
| 84 |
|
| 85 |
+
Which SOL standard code (e.g., G.RLT.1, G.TR.3) best applies to this query: "{query}"?
|
| 86 |
|
| 87 |
+
Only return the code and a **one-sentence justification**.
|
| 88 |
"""
|
| 89 |
)
|
| 90 |
|
| 91 |
+
|
| 92 |
}
|
| 93 |
|
| 94 |
def generate_output(prompt_type, query):
|