Create an LLM system prompt using ggplot2 NEWS
Source:R/ggplot2_news_prompt.R
ggplot2_news_prompt.Rd
This function creates a system prompt for an LLM that includes the contents of the
news for the latest major version of ggplot2. This is useful for
creating ellmer::Chat
objects that are aware of recent changes in the package.
However, doing this will incur extra costs from the LLM provider (if being billed per-token).
Value
an ellmer_prompt
object with the system prompt suitable for use creating
an ellmer::Chat
object.