Create an LLM system prompt using ggplot2 Documentation
Source:R/ggplot2_doc_prompt.R
ggplot2_doc_prompt.Rd
This function creates a system prompt for an LLM that includes the contents of help pages
for 'ggplot2' functions related to themes. This is useful for creating
ellmer::Chat
objects that are fully aware of the documented state of the API.
Value
an ellmer_prompt
object with the system prompt suitable for use creating
an ellmer::Chat
object.