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

CodeSignal

LangChain Chat Essentials in JavaScript

via CodeSignal

Overview

Embark on a journey into conversational AI with LangChain in JavaScript. 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
    • Modify the AI Question
    • Fixing Response Processing in LangChain
    • Building a Complete LangChain Script from Scratch
    • Switching AI Providers with LangChain
  • Unit 2: Customizing Model Parameters in LangChain
    • Choosing Your AI Brain
    • Limiting AI Responses with Max Tokens
    • Controlling AI Creativity with Temperature
    • Exploring AI Creativity with the TopP
    • Reducing Repetitiveness with Frequency Penalty
    • Encouraging Topic Diversity with Presence Penalty
  • Unit 3: Structuring Messages and Defining a System Prompt
    • Exploring HumanMessage Attributes
    • Exploring SystemMessage Objects in LangChain
    • Fixing Message Formatting in Chat Model
    • Transitioning to Structured Message Objects
    • Transforming AI Responses with System Messages
    • Enhancing AI with Task-Specific Constraints
  • Unit 4: Managing Conversation History with LangChain
    • Creating a Travel Assistant Conversation
    • Creating a Multi-Turn Conversation with a Math Assistant
    • Multi-Turn Conversation with a Reusable Function
    • Resetting Conversation Context
    • Managing Independent Conversations Simultaneously

Reviews

Start your review of LangChain Chat Essentials in JavaScript

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.