Blog
Technical exploration and thoughts · 655 articles
LangChain-13 Memory ConversationBufferMemory: Conversatio...
This article introduces how to use tools in the LangChain library to manage conversation context of large models in Python. Through components like...
LangChain-11 Code Writing FunctionCalling: Autoregressive...
This article introduces how to use the GPT-3.5-Turbo model to write Python code to solve users' abstract calculation problems, such as 2+2 and complex mathematical expressions, demonstrating the mo...
LangChain 09 - Query SQL DB with RUN GPT
This article introduces how to use Python libraries like langchain and ChatOpenAI (GPT-3.5-turbo) combined with SQLite database to create a program to execute SQL queries and return results in natu...
LangChain 10 - Agents Langchainhub Guide
This article introduces how to use LangChainHub's Hub mechanism through Python code to easily access and share Prompts. Although the project hasn't been...
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 chain composition.
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 calculating employee count.
LangChain 05 - RAG Enhanced Conversational Retrieval
This article introduces how to use tools in LangChain library, such as OpenAIEmbeddings and ChatModels, combined with document retrieval technology, to create a program that generates answers based...
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. Its core...
LangChain 03 - astream_events Streaming Output with FAISS...
This article introduces how to use DocArrayInMemorySearch to vectorize text data, combined with OpenAIEmbeddings and GPT-3.5 model, to implement relevant information retrieval and answer generation...
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 generation. Provides installat...
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 cats). The author demonstrates...
LangChain 02 - JsonOutputParser and Streaming JSON Data P...
This article explains how to install and use LangChain and OpenAI API in Python, retrieve specified country and its population data through async functions, and demonstrates the process of progress...
GitLab + Jenkins CI/CD Pipeline: From Manual to Automated...
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 Kubernetes.
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 With...
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.