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

CodeSignal

LangChain Chat Essentials in Python

via CodeSignal

Overview

Embark on a journey into conversational AI with LangChain in Python. 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: Sending a Message with LangChain
    • Crafting Your Own AI Question
    • Fixing a Common LangChain Mistake
    • Building a Complete LangChain Script
    • Switching Providers with LangChain Interface
  • Unit 2: Customizing Model Parameters in LangChain
    • Choosing Your AI Brain
    • Limiting AI Responses with Max Tokens
    • Controlling AI Creativity with Temperature
    • Expanding Vocabulary with Nucleus Sampling
    • Reducing Repetition with Frequency Penalty
    • Encouraging Topic Diversity with Presence Penalty
  • Unit 3: Structuring Messages and Defining a System Prompt
    • Exploring the HumanMessage Object Structure
    • Exploring SystemMessage in LangChain
    • Fixing Message Format for Chat Models
    • From Strings to Structured Messages
    • Creating AI Personas with System Messages
    • Setting Boundaries with System Messages
  • Unit 4: Managing Conversation History with LangChain
    • Creating Your First Message List
    • Building a Multi-Turn Tour Guide
    • Creating Reusable Conversation Functions
    • Resetting Conversations with Fresh Starts
    • Managing Multiple Independent Conversation Histories

Reviews

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