Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,17 @@ Include:
|
|
| 74 |
- One short class activity
|
| 75 |
"""
|
| 76 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
}
|
| 78 |
|
| 79 |
def generate_output(prompt_type, query):
|
|
|
|
| 74 |
- One short class activity
|
| 75 |
"""
|
| 76 |
)
|
| 77 |
+
"general question": PromptTemplate(
|
| 78 |
+
input_variables=["context", "query"],
|
| 79 |
+
template="""
|
| 80 |
+
{context}
|
| 81 |
+
|
| 82 |
+
Based on the above SOL content, identify the Geometry SOL standard number (e.g., G.RLT.1, G.GPE.3) that best aligns with the question: "{query}"
|
| 83 |
+
|
| 84 |
+
Just return the SOL code (e.g., G.RLT.1) and a short justification.
|
| 85 |
+
"""
|
| 86 |
+
)
|
| 87 |
+
|
| 88 |
}
|
| 89 |
|
| 90 |
def generate_output(prompt_type, query):
|