Docs: finish and expand why-chatlas.qmd

未关闭
#355 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
documentation

调研方向

从 docs/why-chatlas.qmd 开始,然后检查 docs/_quarto.yml、docs/_sidebar.yml 中的渲染配置和侧边栏条目,以及 docs/index.qmd 中的 Why chatlas? 部分。与 maintainer 确认首选的导航方式,完成 issue 中描述的比较和差异化内容,并验证完成后的页面已渲染且可从网站访问。

由索引模型根据 Issue 内容生成。

描述

ai-triage:needs-review documentation

Problem

docs/why-chatlas.qmd ends mid-sentence:

Other frameworks like Pydantic AI and llm do a better

The page currently only compares chatlas against LangChain (via the conversation-history example), and the file is rendered by the site build (listed in docs/_quarto.yml's render: block) but is not linked from any sidebar — docs/_sidebar.yml only covers the API reference, and the get-started/tool-calling/misc sidebar defined in docs/_quarto.yml (lines ~81-121) doesn't include it either. The only inbound link found is docs/index.qmd's "## Why chatlas?" section header, which doesn't appear to hyperlink to why-chatlas.qmd itself. So today the page is essentially orphaned/unfinished content live on the site.

Proposed approach

  1. Finish the cut-off sentence and complete the framework comparison using the July 2026 competitive review findings, with honest, specific positioning rather than generic "worse than us" claims:
    • llm: CLI-first, SQLite-backed logging, huge plugin ecosystem — owns shell-scripting and local-model tinkering; chatlas is a library for building the plumbing has to go in your app.
    • Pydantic AI: production agent framework with strong type-safety and structured-output validation baked deep into the agent loop; growing in surface area (graphs, dependency injection) as it matures.
    • LangChain: broad agent-platform/ecosystem (integrations, LangGraph, LangSmith); breadth comes with a steeper learning curve and more indirection for simple chat use cases (as the existing conversation-history example already demonstrates).
    • LiteLLM: gateway/proxy breadth — unify billing/routing across many providers' APIs; complementary to, not a substitute for, an SDK-level chat library like chatlas.
  2. Add a short "what chatlas deliberately doesn't do" section: no agent graphs/orchestration, no RAG/vector-store primitives (see docs/misc/RAG.qmd's existing llama-index recommendation), no middleware layer, no multi-provider gateway/proxy.
  3. Call out underexploited differentiators that don't get enough airtime elsewhere in the docs: stateful Chat ergonomics (turns retained automatically), batch_chat/batch_chat_text/batch_chat_structured provider-discount batch support (reference/batch_chat.qmd), first-class notebook/console streaming UX, and OpenTelemetry instrumentation out of the box (get-started/monitor.qmd).
  4. Fix the orphaned-page problem: either add why-chatlas.qmd to the sidebar (e.g., under the index.qmd entry in docs/_quarto.yml's sidebar contents) or link to it directly from docs/index.qmd's "Why chatlas?" heading — confirm which with the maintainer before choosing.

This issue is a task description, not the content — the actual writing happens in the PR.

Alternatives / prior art

Related to #89 ("Add a why chatlas article", closed — the original article this issue would complete).

Open questions

  • Sidebar placement vs. inline link from index.qmd — which is preferred?
  • Should the LangChain example be kept as-is, trimmed, or replaced now that other frameworks are being added?

Drafted from a competitive review of llm / Pydantic AI / LangChain / LiteLLM (July 2026); filed via Claude Code on behalf of @cpsievert.

主要语言
Python
星标
179
派生
32
平均合并
1 天 3 小时
30 天内合并 PR
10

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/chatlas 的其他 Issue

查看 posit-dev/chatlas 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。