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

CodeSignal

LangChain Chat Essentials in Go

via CodeSignal

Overview

Embark on a journey into conversational AI with LangChain in Go. This course equips you with the skills to build sophisticated chat applications, starting with basic message exchanges and advancing to complex conversation management. Discover how to tailor AI responses, laying a strong foundation for innovative natural language processing endeavors.

Syllabus

  • Unit 1: Introduction to LangChain and Large Language Models in Go
    • Modifying a LangChain Script to Ask a Custom Question
    • Fixing a Prompting Bug
    • Building a Complete LangChain Script for OpenAI Chat in Go
    • Migrating from OpenAI to Anthropic in LangChain Go
  • Unit 2: Customizing Model Parameters in LangChain with Go
    • Configuring OpenAI Client with GPT-4o-mini Model
    • Setting Token Limits to Control AI Response Length
    • Adding High Temperature Parameters for Creative AI Responses
    • Adding top_p Parameter to OpenAI Chat Instance
    • Implementing Frequency Penalty for Varied AI Responses
    • Adding PresencePenalty to OpenAI Client Configuration
  • Unit 3: Structuring Messages and Defining a System Prompt in Go
    • Accessing HumanMessage Properties in LangChain
    • Converting HumanMessage to SystemMessage in LangChain
    • Fixing Message Formatting in LangChain Go
    • Using HumanMessage Objects Instead of Strings
    • Creating AI Personas with System Messages in LangChain Go
    • Adding Constraints to a Math Assistant
  • Unit 4: Managing Conversation History with LangChain in Go
    • Creating Your First Message List in LangChainGo
    • Creating Multi-Turn Conversations with LangChain in Go
    • Creating a Reusable Function for Multi-Turn AI Conversations
    • Implementing Conversation Reset Function in LangChain Go
    • Managing Multiple Conversations with Go

Reviews

Start your review of LangChain Chat Essentials 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.