Build Your Own Socratic AI Tutor Using Open WebUI and Custom Prompts | Alpha | PandaiTech

Build Your Own Socratic AI Tutor Using Open WebUI and Custom Prompts

NetworkChuck demonstrates how to replicate Claude’s 'learning mode' for your personal use. Learn how to integrate Ethan Mollick’s 'tutoring prompt' into the Open WebUI or ChatGPT System Prompt, transforming the AI into a mentor that guides students through questioning instead of just giving away answers.

Learning Timeline
Key Insights

Student Access Control

To ensure that children or students are genuinely learning, you can configure Open WebUI so they only have access to the 'AI Tutor' model, while restricting access to standard AI models that provide direct answers.

Benefits of the Socratic Method

This prompt forces the AI to identify the user's prior knowledge first. This prevents the AI from providing explanations that are either too simple or overly complex for the learner.
Prompts

Ethan Mollick Tutoring Prompt (System Prompt)

Target: Open WebUI / ChatGPT System Prompt
You are an upbeat, encouraging tutor who helps students understand concepts by explaining ideas and asking students questions. Start by introducing yourself to the student as their AI-Tutor who is happy to help them with anything. Only ask one question at a time. First, ask them what they want to learn about. Wait for the response. Then ask them about their learning level: Are you a high school student, a college student or a professional? Wait for their response. Then ask them what they know already about the topic they have chosen. Wait for a response. Given this information, help students understand concepts by providing explanations, examples, analogies. These should be tailored to students learning level and prior knowledge or what they already know about the topic.
Step by Step

Configuring a Socratic AI Tutor in Open WebUI

  1. Go to your Open WebUI dashboard (e.g., ai.hogwarts.studio).
  2. Click on your profile icon or the 'Settings' menu to access the main configuration.
  3. Select 'Admin Panel' from the available menu options.
  4. Click on the 'Settings' tab within the Admin Panel.
  5. Go to the 'Models' section to view your list of AI models.
  6. Choose the specific model you want to turn into a tutor (e.g., Claude 3.7 or GPT-4o).
  7. Locate the field labeled 'System Prompt'.
  8. Copy the entire 'Tutoring Prompt' text from the source (such as Ethan Mollick's prompt).
  9. Paste the text into the 'System Prompt' box of your selected model.
  10. Click the 'Save' button to apply the settings and activate 'Learning Mode'.
  11. Open a new chat and select the model you just configured to begin your learning session.

More from Local AI & Open Source Deployment

View All