Vignette: Gather useful context with btw()

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r
Ambito
documentation

Direzione di ricerca

Start by reading the existing btw-md and custom-agents vignettes, then inspect the current source to verify the btw() and btw_this() APIs and behavior. Build a focused, task-first vignette around a concrete analysis or debugging question, run its executable examples in a fresh session, and render it successfully.

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

Descrizione

documentation

Goal and audience

Introduce the context-gathering workflow to R users who want help from any LLM, including a browser-based chat. Start with an analysis question and incrementally assemble enough context for the model to answer without guessing about the data or code.

The destination is a focused context bundle the reader can paste into their preferred chat. Most examples should work without an LLM provider.

Proposed coverage — reassess before drafting

This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.

  • Start with an R object and a question using btw().
  • Add a relevant function, help page, package description, or project file.
  • Explain the assembled output and clipboard workflow.
  • Use btw_this() to inspect a description without assembling a clipboard bundle.
  • Explain what summaries preserve and omit, especially for data frames.
  • Demonstrate selecting relevant context rather than sending the whole workspace.

Suggested boundaries

Avoid an exhaustive command-alias catalog, custom description-method development, or a tool-enabled chat tutorial. Link to reference documentation for the broader surface.

Writing guidance

Use the task-first, incremental teaching approach of the btw-md and custom-agents vignettes. Verify APIs and described behavior against source; run executable examples and render in a fresh session. Prefer a concrete analysis or debugging question over a tour of input types.

Lingua principale
R
Stelle
150
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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/btw

Tutte le issue di posit-dev/btw

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.