% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paintr-llm.R
\name{ptr_llm_topic}
\alias{ptr_llm_topic}
\title{Fetch a ggpaintr LLM topic}
\usage{
ptr_llm_topic(topic)
}
\arguments{
\item{topic}{Topic name. Must be one of \code{\link[=ptr_llm_topics]{ptr_llm_topics()}}.}
}
\value{
A single character string.
}
\description{
Returns the runnable example + commentary for one topic as a single
character string. Designed to back an LLM tool such as
\code{ggpaintr_docs(topic)}: the model calls it when the user asks for
help with an interactive ggplot task, and receives exactly one
focused example instead of the entire manual.
}
\details{
Each topic is derived from (and kept in sync with) either
\code{README.Rmd} or the tutorial vignette
(\code{ggpaintr-tutorial}).
}
\examples{
cat(ptr_llm_topic("level1_ptr_app"))
}
\seealso{
\code{\link[=ptr_llm_topics]{ptr_llm_topics()}}, \code{\link[=ptr_llm_primer]{ptr_llm_primer()}}
}
