Deploying an On‑Premise AI Knowledge Base with FastGPT, m3e, ChatGLM3, and OneAPI
Start with an Ubuntu instance running under WSL2 on a Windows host, and make sure Docker Desktop is installed and configured to use the WSL‑based engine.
Prepare the service definitions
Create a project directory and write a docker‑compose.yml that bundles all required services:
version: '3.8'
services:
vector_db:
image: ankane/pgvector: ...
Posted on Thu, 15 Oct 2026 16:10:36 +0000 by e_00_3
ChatGLM3 Tool Invocation Prompt Template in LangChain Architecture
This article explores the prompt template structure for ChatGLM3 within the LangChain framework, focusing on how the model handles tool execution and knowledge-based responses.
Prompt Template Definition
The following configuration defines the instruction set for the ChatGLM3 agent when processing user requests:
PROMPT_TEMPLATES["agent_cha ...
Posted on Tue, 09 Jun 2026 17:29:02 +0000 by shaundunne