To Data & Beyond

To Data & Beyond

Share this post

To Data & Beyond
To Data & Beyond
Hands-On LangChain for LLMs App: Chat with Your Files
Copy link
Facebook
Email
Notes
More

Hands-On LangChain for LLMs App: Chat with Your Files

Youssef Hosni's avatar
Youssef Hosni
Jan 21, 2024
∙ Paid
10

Share this post

To Data & Beyond
To Data & Beyond
Hands-On LangChain for LLMs App: Chat with Your Files
Copy link
Facebook
Email
Notes
More
1
1
Share

In previous articles we have explored the journey from loading documents to creating a vector store, discussing the limitations of existing models in handling follow-up questions and engaging in real conversations. 

The good news is that we’re addressing these issues by introducing chat history into LangChain. This addition enables the language model to consider previous interactions, allowing it to provide context-aware responses. 

The article guides users through setting up their environment, adding memory to the chain, and building an end-to-end chatbot that empowers users to have interactive and context-sensitive conversations with their document-based language models.

Table of Contents:

  1. Setting Up Working Environment & Getting Started

  2. Adding Memory to Your Chain

  3. Building an End-to-End Chatbot 


My E-book: Data Science Portfolio for Success Is Out!

Youssef Hosni
·
September 15, 2023
My E-book: Data Science Portfolio for Success Is Out!

I recently published my first e-book Data Science Portfolio for Success which is a practical guide on how to build your data science portfolio. The book covers the following topics: The Importance of Having a Portfolio as a Data Scientist How to Build a Data Science Portfolio That Will Land You a Job?

Read full story

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Youssef Hosni
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More