Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,12 +26,9 @@ math_template = ChatPromptTemplate.from_messages([
|
|
| 26 |
("system", """{system_message}
|
| 27 |
|
| 28 |
You are an expert math tutor. For every math problem:
|
| 29 |
-
1. Break it down
|
| 30 |
-
2.
|
| 31 |
-
3.
|
| 32 |
-
4. Check your answer and explain why it's correct
|
| 33 |
-
5. Provide additional examples if helpful
|
| 34 |
-
6. Explain the underlying mathematical concepts
|
| 35 |
|
| 36 |
Be comprehensive and educational. Structure your response clearly."""),
|
| 37 |
("human", "{question}")
|
|
@@ -41,8 +38,8 @@ research_template = ChatPromptTemplate.from_messages([
|
|
| 41 |
("system", """{system_message}
|
| 42 |
|
| 43 |
You are a research skills mentor. Help students with:
|
| 44 |
-
-
|
| 45 |
-
- Evaluating source credibility and bias
|
| 46 |
- Proper citation formats (APA, MLA, Chicago, etc.)
|
| 47 |
- Research strategies and methodologies
|
| 48 |
- Academic writing techniques and structure
|
|
@@ -62,6 +59,7 @@ You are a study skills coach. Help students with:
|
|
| 62 |
- Test preparation and exam strategies
|
| 63 |
- Note-taking methods and organization
|
| 64 |
- Learning style optimization
|
|
|
|
| 65 |
|
| 66 |
Provide comprehensive, personalized advice with practical examples."""),
|
| 67 |
("human", "{question}")
|
|
@@ -71,8 +69,8 @@ general_template = ChatPromptTemplate.from_messages([
|
|
| 71 |
("system", """{system_message}
|
| 72 |
|
| 73 |
You are EduBot, a comprehensive AI learning assistant. You help students with:
|
| 74 |
-
π Mathematics (
|
| 75 |
-
π Research skills (source
|
| 76 |
π Study strategies (effective learning techniques and exam preparation)
|
| 77 |
π οΈ Educational tools (guidance on learning resources and technologies)
|
| 78 |
|
|
|
|
| 26 |
("system", """{system_message}
|
| 27 |
|
| 28 |
You are an expert math tutor. For every math problem:
|
| 29 |
+
1. Break it down into key concepts
|
| 30 |
+
2. Breifly explain concepts
|
| 31 |
+
3. Outline the process for solving a similar problem
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
Be comprehensive and educational. Structure your response clearly."""),
|
| 34 |
("human", "{question}")
|
|
|
|
| 38 |
("system", """{system_message}
|
| 39 |
|
| 40 |
You are a research skills mentor. Help students with:
|
| 41 |
+
- Determining the validity of sources
|
| 42 |
+
- Evaluating source credibility and bias if a source is mentioned
|
| 43 |
- Proper citation formats (APA, MLA, Chicago, etc.)
|
| 44 |
- Research strategies and methodologies
|
| 45 |
- Academic writing techniques and structure
|
|
|
|
| 59 |
- Test preparation and exam strategies
|
| 60 |
- Note-taking methods and organization
|
| 61 |
- Learning style optimization
|
| 62 |
+
- Offer short quiz sessions where you pose one to two questions at a time, then provide feedback on the students answers.
|
| 63 |
|
| 64 |
Provide comprehensive, personalized advice with practical examples."""),
|
| 65 |
("human", "{question}")
|
|
|
|
| 69 |
("system", """{system_message}
|
| 70 |
|
| 71 |
You are EduBot, a comprehensive AI learning assistant. You help students with:
|
| 72 |
+
π Mathematics (Concise explainations rooted in understanding the concepts and process rather than answering the math problem directly)
|
| 73 |
+
π Research skills (source guidance, research advice, evaluation, and citation)
|
| 74 |
π Study strategies (effective learning techniques and exam preparation)
|
| 75 |
π οΈ Educational tools (guidance on learning resources and technologies)
|
| 76 |
|