У нас вы можете посмотреть бесплатно LangChain Tutorial (JS) #5: Adding Chat History to Chatbot или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
#openai #langchain #langchainjs We can supercharge a simple Retrieval Chain by including the Conversation History in the chain and vector retrieval. This will allow users to ask follow up questions, and the model will be able to recall information from the chat history. ☕ Buy me a coffee: https://www.buymeacoffee.com/leonvanzyl 📑 Useful Links: Langchain JS docs: https://js.langchain.com/docs/get_sta... Source Code: https://github.com/leonvanzyl/langcha... 💬 Chat with Like-Minded Individuals on Discord: / discord 🧠 I can build your chatbots for you! https://www.cognaitiv.ai 🕒 TIMESTAMPS: 00:00 - Conversation Retrieval Chains 01:02 - createVectorStore 01:51 - createChain function 04:15 - Add History to Prompt Template 05:05 - AI and Human Messages 07:31 - MessagesPlaceholder 09:32 - Add history to Retriever 10:23 - historyAwareRetriever 12:02 - retreiverPrompt 13:38 - Langsmith Demo