# X-D-Lab/LangChain-ChatGLM-Webui

基于LangChain和ChatGLM-6B等系列LLM的针对本地知识库的自动问答

Repository: https://github.com/X-D-Lab/LangChain-ChatGLM-Webui
Canonical: https://ross.abutalabs.com/products/langchain-chatglm-webui
Language: Python
License: Apache-2.0
License Family: permissive
Topics: chatglm-6b, chatglm-webui, langchain, llm, minimax, belle, bilibili, llama, jina, langchain-serve, modelscope
Last push: 2024-04-15T15:03:05+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 88
- inputs: {"age_days": 1241, "days_push": 870, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3312, forks 492 (observed 2026-08-28T04:07:56.008082+00:00)

## What it is
A Gradio-based web UI that combines LangChain with ChatGLM-6B and other open-source LLMs to answer questions over a local knowledge base. Users upload txt, docx, md, and pdf documents which are indexed and used for retrieval-augmented question answering.

## Use cases
- ask questions about my own documents with a local llm
- build a private chatgpt over my pdf knowledge base
- chat with uploaded txt docx md pdf files
- self-hosted local knowledge base qa with chatglm
- retrieval augmented generation webui for local docs
- offline document question answering without sending data to cloud

## When to choose
- you want a ready-made web UI for local-knowledge RAG with Chinese-friendly open LLMs like ChatGLM
- you need to upload common document formats and query them privately on your own hardware
- you want a project that runs on HuggingFace Spaces, ModelScope, or locally with minimal setup

## When to avoid
- you need a production-grade, actively developed RAG pipeline rather than a demo-oriented webui
- you require English-first models or heavy customization of the retrieval stack
- you want a headless API or library integration instead of a web interface

## Facets
- artifact type: application
- maturity: maintenance
- function: rag, llm-inference, chatbot, web-framework
- domain: large-language-models, artificial-intelligence, chatbots, self-hosted
- platform: python, self-hosted
- tags: langchain, chatglm, local-knowledge-base, gradio-webui, document-qa, embeddings, vector-store, retrieval-augmented-generation, web-server, docker

## Member repositories
- X-D-Lab/LangChain-ChatGLM-Webui (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.008082+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:23.523083+00:00, confidence not recorded.
  - readme: https://github.com/X-D-Lab/LangChain-ChatGLM-Webui (fetched 2026-08-28T04:07:56.008082+00:00, sha 4eb4e3646e07)
- Data as of 2026-08-30T08:39:29.467469+00:00.
