An AI teacher who will help you achieve your learning goals based on your abilities and level.
Just modify the EssayContent, StudentProfile, Activities fields in All_In_One_AI_Tutor.sudo and paste it into chatgpt gpt-4 for conversation.
LessonPlan -1-*-> Activity
LessonPlan: detail plan on how to teach in one lesson Activity: detail activity in plan on how to act in one section
For AI-Tutor, there are a total of three tasks that need to be accomplished:
- Requirement&Profile Analysis:
- input: communication with students; data on students' prior learning.
- output: student_requirement; student_profile;
- Lesson Plan Generation:
- input: student_requirement; student_profile;
- output: lesson_plan;
- Teaching:
- input: lesson_plan;
- input: lesson;
For Teaching, this can be a relatively long process, and there are three ways of thinking about it here. The demo for All in one system prompt has now been completed, and the next focus is on the All in one context.
All_In_One_AI_Tutor.sudo is an implementation of this idea.
- pros:
- The entire orchestration process is also done in prompt, which greatly reduces the glue layer
- High Contextual integrity
- cons:
- When testing on GPT-4, it was found that once the number of lines of code reached around 230 (of course the number of tokens needs to be measured accurately here), a large amount of interference occurred.
- Excessively long contexts will cause the execution to lose critical focus
- pros:
- No need to do everything in one system prompt
- Toggles the system prompt while keeping the context intact.
- cons:
- When switching system prompts, need to maintain some consistency, otherwise it may have an impact on the dialog history
- Excessively long contexts will cause the execution to lose critical focus
The idea for this approach comes from anthropic's article (see references for details)
- pros:
- No need to do everything in one system prompt
- Not all tasks need to be accomplished in one context
- cons:
- Smooth transitions when collaborating across different contexts require specialized designs
- Choosing which information to synchronize between contexts is the challenge
- This project uses SudoLang to implement the prompt part.
- The previous versions have been referenced in Mr. Ranedeer.
- The lesson planner section references the prompt combination process for generating test cases in the openai-cookbook
- The requirement bot tries to imitate someone's tone to conduct a requirement interview.
- Anthropic faithfulness of CoT