Open in app

Sign in

Write

Sign in

Harpreet Sahota
Harpreet Sahota

681 Followers

Home

About

Published in

Heartbeat

·3 days ago

Implementing Agents in LangChain

A Guide to Enhancing AI with Strategic Decision-Making and Tool Integration — Agents in LangChain Agents in LangChain are systems that use a language model to interact with other tools. They can be used for tasks such as grounded question/answering, interacting with APIs, or taking action. LangChain provides: A standard interface for agents. A selection of agents to choose from. Examples of end-to-end agents.

Llm

10 min read

Implementing Agents in LangChain
Implementing Agents in LangChain
Llm

10 min read


Published in

Heartbeat

·4 days ago

LlamaSherpa: Revolutionizing Document Chunking for LLMs

Smart Chunking Techniques for Enhanced RAG Pipeline Performance — A huge pain point for Retrieval Augmented Generation is the challenge of making the text in large documents, especially PDFs, available for LLMs due to the limitations of the LLM context window. You could naively chunk your documents — a straightforward method of breaking down large documents into smaller text…

Llm

10 min read

LlamaSherpa: Revolutionizing Document Chunking for LLMs
LlamaSherpa: Revolutionizing Document Chunking for LLMs
Llm

10 min read


Published in

Heartbeat

·5 days ago

Evaluating RAG Pipelines: Practical Insights with ragas

A Guide to Metrics and Stuffing Strategy Assessment — In this post, you will learn how to set up and evaluate Retrieval-Augmented Generation (RAG) pipelines using LangChain. You will explore the impact of different chain types — Map Reduce, Stuff, Refine, and Re-rank — on the performance of your RAG pipeline. This guide is a practical introduction to using…

Llm

15 min read

Evaluating RAG Pipelines: Practical Insights with ragas
Evaluating RAG Pipelines: Practical Insights with ragas
Llm

15 min read


Published in

Heartbeat

·Dec 1

Using Advanced Retrievers in LangChain

More Techniques to Improve Retrieval Quality — If you’ve ever hit the wall with basic retrievers, it’s time to gear up with some “advanced” retrievers from LangChain. This isn’t just an upgrade; it’s a new way to think about digging through data. Picture this: instead of a single line of inquiry, you deploy a squad of queries…

Langchain

9 min read

Using Advanced Retrievers in LangChain
Using Advanced Retrievers in LangChain
Langchain

9 min read


Published in

Heartbeat

·Nov 30

Retrieval Part 3: Information Retrieval with LangChain Retrievers

Mastering the Search for Knowledge in the Digital Repository — In the age of information overload, the ability to quickly find relevant data is paramount. LangChain’s retrievers stand as the gatekeepers of knowledge, offering an advanced interface for searching and retrieving information from a sea of indexed documents. By serving as a bridge between unstructured queries and structured data, retrievers…

Langchain

8 min read

Retrieval Part 3: Information Retrieval with LangChain Retrievers
Retrieval Part 3: Information Retrieval with LangChain Retrievers
Langchain

8 min read


Published in

Heartbeat

·Nov 29

Retrieval Part 2: Harnessing the Power of Text Embeddings

Explore How LangChain’s Semantic Search Allows You To Transform Data Retrieval and Information Discovery — In this blog post, I’ll show you how to work with text embedding models using LangChain. Text embedding models represent documents as high-dimensional vectors. They’re the key to unlocking semantic search capabilities that go beyond simple keyword matching. Imagine being able to sift through massive volumes of text and instantly…

Langchain

6 min read

Retrieval Part 2: Harnessing the Power of Text Embeddings
Retrieval Part 2: Harnessing the Power of Text Embeddings
Langchain

6 min read


Published in

Heartbeat

·Nov 24

Retrieval Part 1: Document Loaders, Document Transformers

Retrieval in LangChain refers to fetching and retrieving relevant data or documents from external sources. It is a crucial step in many language model applications, especially in Retrieval Augmented Generation (RAG) tasks. Retrieval is useful because it allows you to incorporate external data into your language model, providing additional context…

Langchain

4 min read

Retrieval Part 1: Document Loaders, Document Transformers
Retrieval Part 1: Document Loaders, Document Transformers
Langchain

4 min read


Published in

Heartbeat

·Nov 23

Using Self-Critiquing Chains in LangChain

Enhancing Trustworthiness and Accountability through ConstitutionalChain in LangChain — Introduction Building LLM-driven technologies is not just about creating systems that can understand and respond to user queries. It’s about creating systems that can introspect, self-correct, and adhere to ethical and human-centric guidelines. Enter the ConstitutionalChain — a groundbreaking feature of the LangChain framework. This self-critique chain allows language models to…

Llm

11 min read

Using Self-Critiquing Chains in LangChain
Using Self-Critiquing Chains in LangChain
Llm

11 min read


Published in

Heartbeat

·Nov 22

Diving Deep into LangChain’s Comparison Evaluators

Mastering Pairwise Assessments for Optimized Language Model Outputs — Introduction In LangChain, comparison evaluators are designed to measure and compare outputs from two different chains or LLMs. These tools are invaluable for A/B testing between models or analyzing distinct versions. Moreover, they can be employed to generate preference scores for AI-assisted reinforcement learning. At their core, these evaluators derive from…

Llm

9 min read

Diving Deep into LangChain’s Comparison Evaluators
Diving Deep into LangChain’s Comparison Evaluators
Llm

9 min read


Published in

Heartbeat

·Nov 17

Beyond Basic Evaluation: LangChain’s Techniques for Language Model Validation

Exploring Exact Matches, Embedding Distances, and More: A Deep Dive into Advanced String Evaluation Methods for AI Applications — Introduction While string evaluators provide a robust way to measure a model’s accuracy, myriad other methods offer nuanced and targeted approaches to evaluation. For developers and data scientists venturing into building applications with language models, ensuring the reliability of the model’s output becomes paramount. From the simplicity of an exact match…

Llm

7 min read

Beyond Basic Evaluation: LangChain’s Techniques for Language Model Validation
Beyond Basic Evaluation: LangChain’s Techniques for Language Model Validation
Llm

7 min read

Harpreet Sahota

Harpreet Sahota

681 Followers

I create content about Deep Learning | DevRel Manager @ Deci AI | Forever Learning

Following
  • Jesus Rodriguez

    Jesus Rodriguez

  • Cobus Greyling

    Cobus Greyling

  • Cornellius Yudha Wijaya

    Cornellius Yudha Wijaya

  • Tony Stubblebine

    Tony Stubblebine

  • Darius Foroux

    Darius Foroux

See all (98)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams