Skip to contents

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.

Usage

ggplot2_doc_prompt()

Value

an ellmer_prompt object with the system prompt suitable for use creating an ellmer::Chat object.