Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Creating a Personal Tutor with DeepSeek and PHP

via CodeSignal

Overview

Dive into the world of AI tutoring by building a personal tutor using DeepSeek! Learn how to send queries, tweak API settings, manage tutoring sessions, and craft effective system prompts—all to offer tailored educational guidance. With DeepSeek's API (compatible with the OpenAI SDK), you can quickly transition from theory to an interactive tutoring solution.

Syllabus

  • Unit 1: Sending a Simple Query to DeepSeek
    • Sending Your First Message to DeepSeek
    • Switching to a Different DeepSeek Model
    • Fix the API Response Bug
    • Complete Your First DeepSeek AI Interaction
  • Unit 2: Customizing AI Tutor Responses with Model Parameters
    • Testing Default AI Behavior Without Parameters
    • Controlling Response Length with max_tokens
    • Adding the Temperature Parameter
    • Experimenting with High Temperature Settings
    • Adding Presence Penalty to Encourage Topic Diversity
    • Minimizing Repetition with Frequency Penalty
  • Unit 3: Message Types and Session History
    • Starting a Conversation with DeepSeek
    • Sending Your First Query with Conversation History
    • Building a Conversation with DeepSeek
    • Visualizing Conversation History
    • Enhancing the sendQuery Function
  • Unit 4: Personalizing Your Tutor with System Prompts
    • Creating a New AI Persona with System Prompts
    • Maintaining AI Persona Across Multiple Interactions
    • Fix the System Prompt Bug
    • Create a Custom AI Persona
  • Unit 5: Managing Multiple Tutoring Sessions
    • Creating Unique Chat Sessions
    • Implementing a Chat Session Message Handler
    • Integrating DeepSeek's Language Model for Dynamic Chatbot Responses
    • Managing Multiple Chat Sessions

Reviews

Start your review of Creating a Personal Tutor with DeepSeek and PHP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.