Docs: finish and expand why-chatlas.qmd

Aperta
#355 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Inizia da docs/why-chatlas.qmd, poi esamina il rendering e le voci della barra laterale in docs/_quarto.yml, docs/_sidebar.yml e la sezione Why chatlas? di docs/index.qmd. Conferma la navigazione preferita con il maintainer, completa il confronto e gli elementi di differenziazione descritti nell’issue e verifica che la pagina completata venga renderizzata e sia raggiungibile dal sito.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
179
Fork
32
Merge medio
1g 3h
PR unite (30g)
10

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/chatlas

Tutte le issue di posit-dev/chatlas

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.