Blog
Technical exploration and thoughts · 655 articles
LangChain-13 Memory ConversationBufferMemory: Conversation Context Management
This article introduces how to use tools in the LangChain library to manage conversation context of large models in Python.
LangChain-11 Code Writing FunctionCalling: Autoregressive Language Modeling
This article introduces how GPT models work based on autoregressive language modeling, which generates coherent text by predicting the probability of the next token.
LangChain 09 - Query SQL DB with RUN GPT
RUN GPT provides a powerful database query function, allowing users to input natural language to query database content.
LangChain 10 - Agents Langchainhub Guide
This article introduces how to use LangChainHub's Hub mechanism through Python code to easily access and share Prompts.
LangChain 07 - Multiple Chains
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...
LangChain 08 - Query SQL DB with GPT
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...
LangChain 05 - RAG Enhanced Conversational Retrieval
Conversational Search is an intelligent search technology that combines natural language processing and context understanding capabilities.
LangChain 06 - RAG with Source Document
Retrieval-Augmented Generation (RAG) with Source Document is an AI technology framework that combines retrieval with large language model generation.
LangChain 03 - astream_events Streaming Output with FAISS Practice
This article introduces how to use DocArrayInMemorySearch to vectorize text data, combined with OpenAIEmbeddings and GPT-3.5 model, to implement relevant information retr...
LangChain 04 - RAG Retrieval-Augmented Generation
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...
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...
LangChain 02 - JsonOutputParser and Streaming JSON Data Processing Guide
This article explains how to install and use LangChain and OpenAI API in Python, retrieve specified country and its population data through async functions.
GitLab + Jenkins CI/CD Pipeline: From Manual to Automated Deployment
Learn how to set up a CI/CD pipeline using GitLab and Jenkins. Covers Webhook configuration, branch strategy, automated build scripts, and Docker image deployment to Kube...
Docker + Harbor Private Registry: Setup and Image Push Guide
Step-by-step guide to installing Docker and Harbor private registry, configuring insecure registries, building custom Docker images, and pushing them to Harbor.
Python Offline Deployment: pip Dependency Management Without Internet Access
How to export Python packages in an online environment and install them in an air-gapped system using pip wheel, pip download, and requirements.txt for offline deployment.