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

CodeSignal

Building Intelligent Tutor with DeepSeek in Python

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: Interacting with DeepSeek: Sending Your First Query
    • Modifying Prompts to Get Different AI Responses
    • Switching Models for Better Reasoning
    • Fixing API Response Handling Bug
    • Creating a Simple Chat Completion with OpenAI
  • Unit 2: Exploring Model Parameters for Customizing AI Tutor Responses
    • Default AI Behavior Exploration
    • Controlling Response Length with max_tokens
    • Setting the Temperature Parameter
    • Experimenting with High Temperature Settings
    • Implementing Presence Penalty for Dynamic AI Responses
    • Reducing Repetition with Frequency Penalty
  • Unit 3: Message Types and Session History in AI Tutoring
    • Starting a Conversation with the AI
    • Passing Conversation History to the AI
    • Building a Contextual Conversation
    • Visualizing Conversation History
    • Enhancing the send_message Function for Efficient Conversation Management
  • Unit 4: Personalizing Your AI Tutor with System Prompts
    • Creating AI Personas with System Prompts
    • Maintaining AI Persona Across Multiple Interactions
    • Fixing the System Prompt Bug
    • Creating a Custom AI Persona with System Prompts
  • Unit 5: Managing Multiple Tutoring Sessions
    • Creating and Managing 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 Building Intelligent Tutor with DeepSeek in Python

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.