
Obtain and manage API keys for OpenAI and Google Gemini to set up LangChain JS model. Build a prompt template, configure an output parser, and run end-to-end hello world chain.
Set up a LangChainJS hello world project by creating a folder, initializing a Node.js project, and installing core, long chain, and Google JNI packages, then configure package.json and overrides.
build your first chain in LangChain JS by setting up the Gemini model, using an output string parser, and invoking the chain to produce a string result from a prompt.
Learn how LangChainJS distinguishes older LMS text-in models from modern chat models in long chain, and how invoke, stream, and batch interfaces enable chaining across Gemini, GPT-3/4, Claude.
Split web page text into 1200-char chunks with 200-char overlap using a recursive character text splitter, generate OpenAI embeddings, and store them in Long Chain's in-memory vector store for search.
Retrieve context for prompts by pulling a retriever from the store, querying it to fetch relevant documents, and adding those results to your prompt before asking the model.
The sole purpose of this course is to get your feet wet and your hands building with LangChainJS
LangChainJS gives Web and JavaScript Developers to ability to add A.I-powered features to their web applications using best-in-class Large Language Models from OpenAI, Google, Anthropic and many more LLM vendors out there.
This is the perfect course to get yourself into A.I Engineering and A.I development with LangChain, the biggest A.I software development toolchain in the market today.
By the end of this course, you will have the skills to:
Design powerful prompts to query A.I models
Integrate with powerful models like Gemini 1.5 Flash from Google Generative AI and GPT 4o by OpenAI
Build conversational chat interactions with A.I models
Use A.I to process images
Control the creativity of the model and how much tokens it consumes
Track token consumption
Load data from local files or specific web pages
Generate results based on information from the web
Generate results based on information from your PDF files
So, if anything in the above list sounds fun, let's get started.
Also, feel free to inbox me about any new chapter you will like me to work on. I'll appreciate your suggestions