#openai #langchain #langchainjs
The Memory modules in Langchain make it simple to permanently store conversations in a database, so that we can recall and continue those conversations in the future - just like the conversations in ChatGPT.
📑 Useful Links:
Langchain JS Chat Memory Docs: [ Ссылка ]
Source Code: [ Ссылка ]
Upstash: [ Ссылка ]
☕ Buy me a coffee:
[ Ссылка ]
💬 Chat with Like-Minded Individuals on Discord:
[ Ссылка ]
🧠 I can build your chatbots for you!
[ Ссылка ]
🕒 TIMESTAMPS:
00:00 - Introduction to Memory
00:47 - The Problem
01:40 - Project Setup
03:30 - BufferMemory
05:33 - ConversationChain
08:43 - Long Term Memory
08:56 - Adding Upstash Redis Memory
10:50 - Create Upstash Account
12:41 - LCEL RunnableSequence Approach
17:31 - Save Context to Memory
LangChain Tutorial (JS) #7: Long Term Conversation Memory
Теги
langchain tutoriallangchainlangchain ailangchain openailarge language modelslangchain demolangchain explainedllmopenailangchain agentwhat is langchainprompt engineeringchatgptlangchain chatgpttrain openai with own datalangchain promptlangchain javascriptllmslangchain ai tutoriallangchain own datalangchain structured output parserretrieval chaintext splittersdocument loadersvector storesembeddingslangchain agentsagent tools