LangChain 01 - Getting Started: Quick Hello World Guide
This article introduces how to use the LangChain library with OpenAI API and GPT-3.5-turbo model to create a template for generating jokes about specific topics (like cat...
Mastering LangChain from basics to advanced, building production-ready LLM applications.
26 articles
This article introduces how to use the LangChain library with OpenAI API and GPT-3.5-turbo model to create a template for generating jokes about specific topics (like cat...
This article explains how to install and use LangChain and OpenAI API in Python, retrieve specified country and its population data through async functions.
This article introduces how to use DocArrayInMemorySearch to vectorize text data, combined with OpenAIEmbeddings and GPT-3.5 model, to implement relevant information retr...
This article explains in detail how to use RAG technology in LangChain, combined with OpenAI's GPT-3.5 model, to improve text generation quality through retrieval and gen...
Conversational Search is an intelligent search technology that combines natural language processing and context understanding capabilities.
Retrieval-Augmented Generation (RAG) with Source Document is an AI technology framework that combines retrieval with large language model generation.
How to use Runnable and Prompts in LangChain to create chainable conversation flows for multi-stage question answering, with practical examples of sequential and parallel...
This article introduces how to use LangChain framework to import Chinook SQLite database through Python script and use GPT model to execute SQL queries, such as calculati...
RUN GPT provides a powerful database query function, allowing users to input natural language to query database content.
This article introduces how to use LangChainHub's Hub mechanism through Python code to easily access and share Prompts.
This article introduces how GPT models work based on autoregressive language modeling, which generates coherent text by predicting the probability of the next token.
This article introduces a method using large models (like OpenAI) and Prompt templates to handle unexpected inputs in program design by calculating the similarity between...
This article introduces how to use tools in the LangChain library to manage conversation context of large models in Python.
Moderation refers to the process of reviewing and managing user-generated content (UGC) through manual or automated means.
Build an intelligent knowledge retrieval system using Wikipedia search plugin, AgentExecutor, and LangChain tools. Covers agent initialization, tool binding...
LangChain is a powerful open-source framework designed to help developers more efficiently build and deploy applications based on Large Language Models (LLMs).
Function Calling is a core technology for Large Language Models (like GPT-4, Claude, Gemini) to interact with external systems.
LangChain provides a comprehensive caching mechanism to significantly reduce LLM call latency and costs. Its core includes InMemoryCache (in-memory cache) and SQLiteCache...
Explains how to integrate OpenAI GPT-3 model in Python through LangChain library, demonstrating how to use the getopenaicallback function to obtain callbacks and execute...
This article introduces various document loaders provided by the LangChain library, such as TextLoader, CSVLoader, DirectoryLoader, etc., demonstrating how to load and pr...
This article introduces various TextSplitters in the LangChain library, including character-based, word-based, HTML tag-based, and programming language-based splitters...
Text Embedding involves the process of mapping high-dimensional data (such as text, images, etc.) to lower-dimensional spaces.
Vector Storage, also known as Vector Database, is a database system specifically optimized for storing and retrieving high-dimensional vector data.
This article introduces how to use the Langchain library in Python for document retrieval, load web content, configure OpenAIEmbeddings, and integrate GPT-3.
This article introduces ReAct, a framework that uses logical reasoning and action sequences to achieve goal-oriented tasks through LLM decision-making and operations.
A Custom Agent refers to an intelligent agent program customized by users based on specific requirements, which can execute specific tasks or workflows.