Embark on a journey to create a personal tutor using DeepSeek and JavaScript! This course will guide you through sending queries, adjusting API settings, managing tutoring sessions, and crafting effective system prompts to provide personalized educational support. With DeepSeek's API (compatible with the OpenAI SDK), you'll transition from theoretical concepts to an interactive tutoring solution.
Overview
Syllabus
- Unit 1: Sending a Simple Query to DeepSeek Using JavaScript
- Sending Your First Message to DeepSeek: Requesting a Fun Fact
- Switching DeepSeek Models for Improved Reasoning
- Fix the OpenAI API Response Extraction Bug
- Implementing OpenAI Chat Completions with DeepSeek-V3
- Unit 2: Customizing AI Tutor Responses with Model Parameters in JavaScript
- Testing Default AI Response Behavior
- Controlling AI Response Length with the max_tokens Parameter
- Adding Temperature Parameter to Control AI Creativity
- Exploring High Temperature Effects on AI Responses
- Adding Presence Penalty Parameter to Encourage Topic Diversity
- Minimizing Repetition with Frequency Penalty
- Unit 3: Message Types and Session History in JavaScript
- Initializing a Conversation with an AI Assistant
- Passing Conversation History to Get AI Responses
- Building Contextual Conversations with OpenAI
- Visualizing Conversation History
- Refactor sendMessage Function to Manage Chat History
- Unit 4: Personalizing Your Tutor with System Prompts in JavaScript
- Customizing AI Persona Using System Prompts
- Testing AI Personality Persistence in Conversations
- Creating a Custom AI Persona with System Prompts
- Unit 5: Managing Multiple Tutoring Sessions with DeepSeek in JavaScript
- Implementing Chat Session Management with UUID
- Implementing a Chat Message Handler Function
- Integrating DeepSeek-V3 API for Dynamic Chatbot Responses
- Managing Multiple Chat Sessions