Gleam Lab · Blog Archive

Blog Page 33

Technical exploration and engineering notes, 655 articles in total.

Gleam Lab technical blog cover: AI Engineering, Java backend, and long-form writing
All Articles Java243Backend50Microservices10AI Engineering86LLM35Big Data271Data Engineering57Kubernetes / Cloud Native3Real-time Voice1Robotics40Personal Growth29 More Tags →
Tutorial Series 1 min read LLM Application Development

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.

Tutorial Series 3 min read LLM Application Development

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.

Tutorial Series 2 min read LLM Application Development

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.

Tutorial Series 4 min read LLM Application Development

LangChain 10 - Agents Langchainhub Guide

This article introduces how to use LangChainHub's Hub mechanism through Python code to easily access and share Prompts.

Tutorial Series 3 min read LLM Application Development

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...

Tutorial Series 3 min read LLM Application Development

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...

Tutorial Series 4 min read LLM Application Development

LangChain 05 - RAG Enhanced Conversational Retrieval

Conversational Search is an intelligent search technology that combines natural language processing and context understanding capabilities.

Tutorial Series 4 min read LLM Application Development

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.

Tutorial Series 1 min read LLM Application Development

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...

Tutorial Series 2 min read LLM Application Development

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...

Tutorial Series 4 min read LLM Application Development

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...

Tutorial Series 1 min read LLM Application Development

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.

Original Engineering Practice 2 min read

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...

Original Engineering Practice 2 min read

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.

Original Engineering Practice 2 min read

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.