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 Go

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 Using Go
    • Sending Your First Message to DeepSeek
    • Switching from DeepSeek-V3 to DeepSeek-R1 for Better Reasoning
    • Fixing a Bug in OpenAI API Response Handling
    • Completing a Chat Completion Request with DeepSeek-V3
  • Unit 2: Customizing DeepSeek Responses with Model Parameters in Go
    • Testing Default AI Behavior with Basic Parameters
    • Limiting Response Length with MaxTokens Parameter in OpenAI API
    • Adding Temperature Parameter to Control AI Creativity
    • Experimenting with High Temperature Settings in AI Models
    • Adding Presence Penalty to Encourage Topic Diversity in AI Responses
    • Minimizing Repetition with FrequencyPenalty Parameter
  • Unit 3: Message Types and Session History in Go
    • Initializing Conversation History with a User Message
    • Sending a Query to the AI Assistant
    • Building Conversational Context with Follow-up Questions
    • Visualizing Conversation History in Go
    • Implementing a SendMessage Function for Conversation Management in Go
  • Unit 4: Personalizing Your Tutor with System Prompts in Go
    • Customizing AI Personas with System Prompts
    • Maintaining AI Persona Across Multiple Interactions
    • Fixing System Prompt Role in Go Chat Application
    • Creating AI Personas with System Prompts
  • Unit 5: Managing Multiple Tutoring Sessions with DeepSeek in Go
    • Implementing a Tutoring Session Management System in Go
    • Implementing a Chat Session Message Handler in Go
    • Integrating DeepSeek's Language Model for Dynamic Chatbot Responses
    • Managing Multiple Tutoring Sessions

Reviews

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

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.