Getting Started with LangChain | JavaScript Tutorial #1

preview_player
Показать описание
Build powerful AI-driven applications using LangChain. LangChain is a groundbreaking framework that combines Language Models, Agents and Tools for creating amazing AI-based apps like ChatGPT, AutoGPT, and more. In this series we will have a look at the fundamenal concepts of LangChain using the JS/TS/Node version of LangChain.

☕ Buy me a coffee:

USEFUL LINKS:

Chat with Like Minded Individuals on Discord:

CHAPTERS:
00:00 - Introduction to Langchain JS
01:05 - Prerequisites and Node setup
02:08 - Getting started with Langchain
02:37 - Using the LLM Model
04:14 - Generating the OpenAI API Key
06:22 - Environment Variables
07:47 - Prompt Templates
10:36 - LLM Chains
13:04 - Agents & Tools explained
18:09 - Agent Types
20:27 - Verbose
21:28 - Memory
24:39 - Streaming Responses
26:08 - In conclusion

#openai #langchain #langchainjs #gpt3 #gpt4 #autogpt #agi #babyagi #chatgpt
Рекомендации по теме
Комментарии
Автор

This was exactly what i've been looking for! I appreciate you so much!

keithscheldt
Автор

You are simply the best! I can't tank you enough. Please do more Leon!

derejew
Автор

This is the most comprehensive langchain tutorial I've seen so far. Great job Leon, subscribed!

jorgeduardo
Автор

Leon you are an incredible guy, you did the tutorial I was looking for, well explained, great content.
Thanksss <3

AdrianPerez-dpyq
Автор

Very informative tutorial. Baie dankie! Looking forward to future videos

cubiq
Автор

Excellent video! Yes, some examples we can run in a Colab to try out ourselves would be awesome.👍

mikew
Автор

Leon, this was so helpful. thank you!

ScottSuhy
Автор

Amazing Explaination Amazing Tutorials !!

m.sulemankhan
Автор

Dude you are so good. Thank you for making these videos 👏👏

coreyamccoy
Автор

pretty informative, I knew nothing about LangChain before

marusdod
Автор

Very nice video! It would be nice if you could make a video about querying large pdf or txt files and use it with gpt and js!

rossanobr
Автор

Hello Leon, thanks for your tutorial. May I ask how to reference an environment variable (openai_api_key) in the script instead of hard coded? I’ve added one line in .zshrc file: export openai_api_key=‘my api key’

cargobridgesolution
Автор

Very good video and thanks for adding value! I have a problem: when I pass the openai api through the .env file it doesn't work for me. If I do it directly, yes. Thanks for helping!

crxrwfg
Автор

Thanks, that is really great, and I liked the simple way of your explanation, can you make another video on how to do it with offline LLM models, and with using own/local data and files?

HasanAYousef
Автор

Really a great Tutorial i would really love one more about querying huge amount of data say 50, 000 words or something

ishaansinghal
Автор

In memory, in ConversationChain, it is not necessary to declare memory = new BufferMemory() and add it to ConversationChain. It will work without it in this example.

rafarolsky
Автор

nice video sir but why did we use servapi tool, without using it still model is getting response from internet search? Is it helping to get my response faster ?

harshsinha
Автор

I agree with these comments. It's great to see some javascript examples. The part on Agents and Tools was perfect! Do you have any examples of using BufferMemory and the conversation chain? It works like a champ if I have one input variable in my prompt, but once I define more than 1, I get an error stating that the input values have multiple keys and memory is only supported with one key currently. Is this the case or is it possibly the way I'm trying to pass the variables in? This feels more like a "stupid user error" :) to me. Thanks for the videos; keep 'em coming!

askcoachmarty
Автор

Thanks for your value but I have question, what are programs that I have to learn to be able to use langchain professionally ?

rayansalghiti
Автор

sorry if this is too basic of a question. But what are the limits of the API key generated like so 4:33? i'm guessing we'll run out of limits after certain time or certain amount of usage?

chetan