Prompt improvements, bug fix, ui fix

This commit is contained in:
Dawid Pietrykowski 2024-08-09 01:34:20 +02:00
parent fc9ab973d2
commit 220857c5d7
5 changed files with 28 additions and 28 deletions

View File

@ -1,47 +1,47 @@
Topic: Basics of Cell Structure and Function
1. Introduction (5 Minutes)
Objective: Provide an overview of what the student will learn in the session.
Engagement Question: "Have you ever wondered what the smallest unit of life looks like and how it functions?"
Objective: Explain what the student will learn: the basic structure and function of cells.
2. Overview of Cells (10 Minutes)
Definition: Explain what a cell is and its importance.
Types of Cells: Differentiate between prokaryotic and eukaryotic cells with simple examples (e.g., bacteria vs. human cells).
Scale and Visualization: Show images/diagrams of cells under a microscope.
Definition: Introduce the concept of a cell as the smallest unit of life.
Types of Cells: Differentiate between prokaryotic (e.g., bacteria) and eukaryotic cells (e.g., human cells).
Scale and Visualization: Describe what cells look like under a microscope.
3. Cell Structure (15 Minutes)
Cell Membrane: Describe its function as a protective barrier and its role in regulating what enters and leaves the cell.
Cytoplasm: Explain it as the 'factory floor' where most cellular activities occur.
Nucleus: Introduce it as the 'control center' of the cell, containing DNA.
Mitochondria: Explain its role as the 'powerhouse' of the cell, generating energy.
Cell Membrane: Describe its function as a barrier and regulator.
Cytoplasm: Explain its role in hosting cellular activities.
Nucleus: Introduce it as the control center of the cell containing DNA.
Mitochondria: Explain its role in energy production.
Ribosomes: Describe their function in protein synthesis.
Other Organelles:
Endoplasmic Reticulum (ER): Differentiate between rough ER and smooth ER.
Golgi Apparatus: Explain its role in packaging and transporting proteins.
Lysosomes: Describe their function in waste removal.
Endoplasmic Reticulum (ER):
Rough ER: Explain its involvement in protein synthesis.
Smooth ER: Describe its role in lipid synthesis and detoxification.
Golgi Apparatus: Explain its role in modifying, sorting, and packaging proteins.
Lysosomes: Describe their function in waste removal and digestion.
4. Interactive Activity (10 Minutes)
Virtual Tour: Use an interactive 3D model of a cell to explore different organelles.
Quiz Questions:
"What is the function of the mitochondria?"
"Where are proteins synthesized in the cell?"
Q&A: Allow the student to ask questions and clarify any doubts.
"What is the role of the cell membrane?"
Q&A: Allow the student to ask questions and provide explanations.
5. Real-World Application (5 Minutes)
Relate to Everyday Life: Discuss how understanding cells can help us learn about diseases, develop medicines, and comprehend how our bodies work.
Current Research: Briefly mention exciting advancements in cell biology (e.g., stem cell research or cancer treatment).
Everyday Relevance: Discuss how understanding cells is crucial for learning about diseases, medical treatments, and bodily functions.
Current Research: Mention advancements in cell biology such as stem cell research or cancer treatments.
6. Conclusion and Review (5 Minutes)
Summary: Recap the key points covered in the session.
Summary: Recap the key points covered.
Take-Home Message: Emphasize the importance of cells as the building blocks of life.
Homework/Next Steps: Suggest a short reading or video to reinforce the concepts learned.
Homework/Next Steps: Suggest the student read a brief article or watch an educational video to reinforce concepts.
7. Feedback (5 Minutes)
Student Reflection: Ask the student what they found most interesting or challenging.
Tutor Feedback: Provide positive feedback and areas for improvement.
Student Reflection: Request the student to share what they found most interesting or challenging.
Tutor Feedback: Provide positive feedback and suggest areas for further improvement.

View File

@ -11,7 +11,7 @@ const String systemPrmpt =
"""You are an AI tutor helping students understand topics with help of biometric data. You will be supplied with a json containing data extracted from an EEG device, use that data to modify your approach and help the student learn more effectively.
At the start you will be provided a script with a lesson to cover.
Keep the analysis short but the lesson can be as long as needed.
Student is 15 years old. You can only interact using text, no videos, images, or audio.
Student is 20 years old. You can only interact using text, no videos, images, or audio.
Make the lesson more in the style of a lecture, with you explaining the topic and the student asking questions.
After completing the theoretical part there's a quiz, you can start it yourself at the appropriate time or react to users' request by including <QUIZ_START_TOKEN> at the start of your response
@ -183,7 +183,7 @@ class GeminiCubit extends Cubit<GeminiState> {
// final String prompt =
// "Jesteś nauczycielem/chatbotem prowadzącym zajęcia z jednym uczniem. Uczeń ma możliwość zadawania pytań w trakcie, natomiast jesteś odpowiedzialny za prowadzenie lekcji i przedstawienie tematu. Zacznij prowadzić lekcje dla jednego ucznia na podstawie poniszego skryptu:\n$rjp";
final String prompt =
"You are a teacher/chatbot conducting a class with one student. The student has the ability to ask questions during the lesson, while you are responsible for leading the class and presenting the topic. Start conducting the lecture for one student based on the script below:\n$lessonScript";
"You are a lecturer teaching a class with one student. The student has the ability to ask questions during the lesson, while you are responsible for lecturing and presenting the topic. Start conducting the lecture for one student based on the script below:\n$lessonScript";
final safetySettings = [
SafetySetting(HarmCategory.harassment, HarmBlockThreshold.none),

View File

@ -19,9 +19,9 @@ class EegState {
class EegService {
EegState state;
EegService() : state = EegState(mindWandering: 0.9, focus: 0.1) {
EegService() : state = EegState(mindWandering: 0.1, focus: 0.9) {
// Start the timer when the cubit is created
if (!isDebug) {
if (false) {
startPolling();
}
}
@ -48,7 +48,7 @@ class EegService {
}
Future<List<double>> fetchEegData() async {
if (isDebug) {
if (true) {
return [0.9, 0.1]; // Placeholder ret
}

View File

@ -39,7 +39,6 @@ class MindWanderScreenState extends State<MindWanderScreen>
_secondsRemaining--;
});
} else {
_timer!.cancel();
// Perform any action when the timer reaches zero
_skipCalibration();
}
@ -55,6 +54,7 @@ class MindWanderScreenState extends State<MindWanderScreen>
}
void _skipCalibration() {
_timer?.cancel();
Navigator.push(context, createSmoothRoute(LessonListScreen()));
}

View File

@ -397,7 +397,7 @@ class BouncingDotsState extends State<BouncingDots>
width: 10,
height: 10,
decoration: BoxDecoration(
color: Theme.of(context).primaryColor,
color: Colors.white,
shape: BoxShape.circle,
),
),