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 in Rust

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
    • Modify the Prompt to Request a Fun Fact
    • Model Selection for Improved Reasoning
    • Creating Messages and Requests
    • Fixing the API Response Bug
    • Completing a Basic OpenAI API
  • Unit 2: Exploring Model Parameters
    • Exploring Default AI Behavior
    • Controlling Max Tokens
    • Adjusting the Temperature
    • Exploring High Temperatures
    • Enhancing Dialogue Diversity with Presence Penalty
    • Minimizing Repetition with Frequency Penalty
  • Unit 3: Message Types and Session History
    • Initializing Conversation History with a User Message
    • Passing Conversation History to DeepSeek
    • Building a Conversation History
    • Visualizing Conversation History
    • Enhancing Conversation History Management
  • Unit 4: Personalizing Your Tutor with System Prompts
    • Transforming Personas with System Prompts
    • Maintaining Persona Over Multiple Interactions
    • Fix the System Prompt Bug
    • Creating a Persona-Driven Conversations
  • Unit 5: Managing Multiple Tutoring Sessions
    • Managing Unique Chat Sessions with UUIDs
    • Managing Chat Sessions with Fixed Responses
    • Integrating DeepSeek Models
    • Managing Multiple Chat Sessions with Distinct Histories

Reviews

Start your review of Creating a Personal Tutor with DeepSeek in Rust

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.