AGENT SKILL

chatglm-guide

Build with Zhipu AI's ChatGLM models — bilingual conversational models with strong Chinese dialogue.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
chatglm-guide
category
ai-research
description
Build with Zhipu AI's ChatGLM models — bilingual conversational models with strong Chinese dialogue.

03 SKILL.md 正文

Overview

ChatGLM (Zhipu AI, originating from Tsinghua's KEG lab) is a bilingual conversational model family with particular strength in Chinese dialogue — among the earliest serious Chinese chat models, with continued development through the GLM generations (including long-context and multimodal variants). The family has deep roots in Chinese NLP research and a large domestic user base.

For builders, ChatGLM/GLM is relevant for Chinese conversational AI: chatbots, assistants, and dialogue systems serving Chinese speakers. Zhipu also offers managed APIs, making it accessible both as open weights and as a service. As with all bilingual families: per-language evaluation on your tasks.

The distinctive note: ChatGLM's conversational tuning for Chinese dialogue is its heritage — evaluate dialogue quality specifically, not just benchmark scores.

When to use

  • Chinese conversational AI: chatbots, assistants, dialogue systems.
  • Bilingual chat applications with Chinese primary.
  • Long-context Chinese document dialogue (GLM long-context variants).
  • Zhipu's managed API for Chinese-language AI without self-hosting.
  • Fine-tuning bilingual conversational base models.
  • Evaluating Chinese dialogue quality across providers.

Core concepts

  • Conversational heritage: tuned for dialogue from early generations. Evaluate multi-turn Chinese conversation quality specifically.
  • GLM generations: the family has evolved significantly (ChatGLM through GLM-4+). Prefer current generations; the gaps are large.
  • Bilingual capability: Chinese-English. Per-language testing for your mix.
  • Long-context variants: extended context for document-grounded Chinese dialogue. Test on your real documents.
  • Multimodal variants: vision-language GLM versions. Evaluate on your image tasks.
  • Zhipu API: managed API option — evaluate alongside self-hosting for economics and operational fit.
  • Open weights: downloadable variants for self-hosting and fine-tuning. Check licensing per release.
  • Code generation: GLM code capabilities — benchmark on your languages if relevant.

Practical workflow

  1. Evaluate Chinese dialogue specifically. Multi-turn conversations in your domain — this is the heritage strength; verify it on your use case.
  2. Benchmark generations. Current GLM vs. older ChatGLM vs. bilingual peers (Qwen, DeepSeek). The generation gaps matter.
  3. Test long-context dialogue. If using long-context variants: sustained conversation over long documents, coherence checks.
  4. Compare API vs. weights. Zhipu's managed API against self-hosted open weights on cost, latency, and operational burden.
  5. Check licensing. Per-release terms, especially for commercial conversational products.
  6. Evaluate multimodal if needed. Vision variants on your image+dialogue tasks.
  7. Pin and monitor. Version pins; dialogue-quality monitoring in production (not just task metrics — conversation quality).

Checklist for ChatGLM/GLM in production:

  • Chinese multi-turn dialogue evaluated on your domain.
  • Current generation benchmarked against peers.
  • Long-context coherence tested (if used).
  • API-vs-self-host decision made on economics.
  • License verified; conversation quality monitored.

Common pitfalls

  • Generation confusion. Treating old ChatGLM and current GLM as equivalent. They're not — benchmark current.
  • Benchmark-only evaluation. Leaderboard scores don't capture dialogue quality. Test real conversations.
  • Single-turn testing. Evaluating one-shot answers when the product is multi-turn dialogue. Test conversations.
  • English-default evals. For a Chinese dialogue product, English benchmarks are nearly irrelevant.
  • API-vs-weights not compared. Defaulting to one deployment mode without modeling the other.
  • License unchecked. Especially for commercial conversational products.
  • No dialogue monitoring. Task metrics without conversation-quality tracking. Dialogue degrades in ways task metrics miss.
  • Long-context assumed. Extended windows without coherence testing over long Chinese documents.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0