Generative AI for NodeJs: OpenAI, LangChain - TypeScript

Hands-On Practice with OpenAI, ChatGPT and LangChain. Use Pinecone and Huggingface and integrate AI into your Node app

  • 0.0 (0 Reviews)
  • 0 Students
  • 91 Lessons
  • Alex Dan

Course Overview

It's time to add AI to your JavaScript/TypeScript app!

AI for NodeJs devs with OpenAI and LangChain is an advanced course designed to empower developers with the knowledge and skills to integrate artificial intelligence (AI) capabilities into Node.js applications. This course is tailored for developers who are proficient in Node.js and wish to explore the fascinating realm of AI-driven solutions.

Throughout the course, participants will delve into various AI concepts, algorithms, and frameworks, focusing on their practical implementation within Node.js environments.

Key topics covered in this course include:

  • Introduction to AI and its applications in Node.js

  • OpenAI setup for basic apps

  • Understanding models, tokens and roles

  • OpenAI request parameters

Practice apps:

  • ChatGPT clone in the console

  • App features: history, context and token limit

  • OpenAI tools app

  • OpenAI tools parameters

  • Generative AI with tools

Key topics for AI development:

  • Embeddings - presentation, persistence, load

  • Similarity search using cosine or dot product

Vector databases:

  • Introduction and setup

  • ChromaDB setup

  • Building a ChromaDB server with Docker

  • Building a ChromaDB client with NodeJS

  • Pinecone Vector database setup

  • Pinecone indexes and index operations

  • Building apps backed by Pinecone

  • Generative AI with Pinecone

Dedicated section for LangChain, the most popular LLM apps wrapper:

  • LangChain introduction and setup

  • LangChain prompt templates

  • LangChain output parsers

  • Building RAG applications with LangChain

  • Web and file LangChain loaders

  • Generative AI with LangChain

What if you want to run the AI models yourself on your own machine? This is possible with open source models!

We will explore Hugging face and it's APIs and open source models for local LLM apps:

  • Local embeddings

  • Translation models

  • Text models

  • Voice models

  • Image models

Since all the used libraries are build with TypeScript and offer great TS support, the course also contains a TypeScript recap section:

  • TypeScript type aliases

  • The TypeScript compiler

  • Functions, special types, any and unknown

  • Enums and the never type

  • TypeScript generics

  • TypeScript classes

  • ...and many more features.

Course advantages:

  • Beyond the basics - after finish, you can directly use this knowledge into production code

  • Practical knowledge - presentations are kept to a minimum, we focus on what is really important

  • Logical and flexible structure - take the course at your own pace

  • Fast paced, concise, most typing cut out - focus on explanations - respect for your time

  • Big font, dark background, full HD content, this way it is readable even on a small screen or even tablet.

  • Lifetime access

  • Certificate of completion to present to your current or prospective employer

  • Q&A active instructor

Go beyond the theory and learn from an active instructor, aligned with today's programming demands!

Whether you're a seasoned NodeJs developer looking to expand your skill set or a newcomer interested in harnessing the power of AI, AI for NodeJS offers an exciting journey into the intersection of artificial intelligence and modern web development. Enroll and unlock the potential to create intelligent, cutting-edge applications with NodeJs!

See more

FAQ

FAQ area empty

Course curriculum

12 chương 91 bài học 7 giờ 21 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 OpenAI setup and Introduction
Chương 3 Basic chat project
  • Section intro 1:35
  • Project init 4:06
  • Model Update
  • Basic chat build 4:09
  • Context configuration 6:07
  • Optional: VSCode debug 4:53
  • OpenAI token limit 9:13
Chương 4 OpenAI tools (functions)
  • Section intro 2:59
  • Tool call setup 4:33
  • First tool call 8:56
  • Tool parameters 5:54
  • Practice: flight assistant 1:51
  • Project solution 4:49
Chương 5 Other OpenAI models and APIs
  • Section intro 0:51
  • Image generation intro with DALLE 1:55
  • Generating images 7:04
  • Editing images 6:47
  • Audio models intro 1:30
  • Whisper - translations and text to speech 6:43
Chương 6 Embeddings
  • Section intro 1:02
  • Embeddings presentation 10:00
  • OpenAI embeddings 5:29
  • Saving embeddings 5:25
  • Calculating similarity 5:24
  • Analizing similarities 7:45
  • Project: recommandation sysytem 1:59
  • Project sollution 2:31
Chương 7 Vector databases
  • Section intro 2:12
  • Vector dbs presentation 3:57
  • ChromaDB presentation 1:29
  • ChromaDb installation 2:04
  • ChromaDB Client 6:33
  • ChromaDB Embedding function 3:28
  • Chat with your data: App proposal 3:44
  • Chat app implementation 5:27
  • Pinecone introduction 2:33
  • Pinecone indexes 6:04
  • Pinecone index operations 11:03
  • Pinecone info app 8:29
Chương 8 LangChain
  • Section intro 0:53
  • What is LangChain 5:16
  • LangChain setup 5:45
  • Imports update
  • First LangChain application 7:12
  • LangChain promp templates 7:12
  • LangChain output parsers 7:36
  • RAG app presentation 4:30
  • Basic RAG appication 8:01
  • LangChain Web Loader 8:57
  • LangChain PDF Loader 5:24
  • LangChain and ChromaDB 5:42
Chương 9 Escape from OpenAI - other AI models
  • Section intro 1:54
  • What is Huggingface 3:37
  • Huggingface setup and embeddings 7:15
  • Huggingface translation models 6:52
  • Huggingface image generation 3:06
  • Local model setup 4:48
  • Local text generation and speech recognition 7:44
Chương 10 Ending section
  • Course conclussions 1:56
Chương 11 TypeScript recap
  • Section intro 1:08
  • What is TypeScript 1:51
  • Installation and project init 7:00
  • Compiler options 4:13
  • Primary JavaScript types 3:04
  • Type aliases 7:53
  • Functions 6:00
  • Any and unknown 7:22
  • Enums 7:34
  • Never 4:18
  • TypeScript classes 4:41
  • Access modifiers 5:10
  • Interfaces 8:41
  • Generics 8:44
  • Special types 11:00
  • Async functions 8:58
  • Promises 10:23
Chương 12 Bonus
  • Bonus lecture

Requirment

  • Basic JavaScript/TypeScript knowledge

  • Basic understand of NPM packages and node modules

  • OpenAI/Huggingface accounts

Outcomes

  • Integrate OpenAI APIs in JavaScript and TypeScript applications. Use text, speech and Image modes

  • Use LangChain, Pinecone, and OpenAI to Build LLM-Powered Applications.

  • Translate and transcribe audio files using open source models in NodeJS apps

  • Learn the basics of AI with OpenAI and ChatGPT: build a console chat app with NodeJS

  • Integrate Tools and Functions into your OpenAI apps and chat with real-time data

  • Master crucial AI topics like Embeddings, similarity and Vector databases

  • Use ChromaDB as a local DB for your embeddings and run special queries

  • Use Pinecone as serverless DB and run special embeddings queries. Use indexes and run similarity searches

  • Learn about LangChain components, LLM wrappers, prompt templates, chains, and agents.

Instructor

...
Alex Dan

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all