Skip to contents

Generate markdown to produce slides for a conference talk. We strongly recommend that you use these slides as a starting point, not as the final slide deck.

Usage

gen_deck(
  title,
  ...,
  api_key = oai_get_default_key(),
  description = NULL,
  minutes = NULL,
  section_titles = NULL,
  outline = NULL,
  additional_information = robodeck_slide_style()
)

Arguments

title

The title of the talk.

...

Additional parameters passed on to the OpenAI Chat Completion API.

api_key

An OpenAI API key.

description

(optional) A description of the talk (or any other text you would like to add to the prompt).

minutes

(optional) The length of the talk in minutes.

section_titles

A nested list of section titles and (optionally) minutes per slide as returned by gen_deck_section_titles(), or a character vector with just the titles.

outline

A list of character vectors as returned by gen_deck_outline(). The name of each vector is the title of a major section of the talk, and the vector contains the titles of the slides within that section.

additional_information

(optional) A single string with additional information about the tone of the talk, specific requirements, etc.

Value

A single string with markdown to produce slides for a revealjs presentation.