Skip to contents

Generate a list of slide titles nested inside the major sections of a conference talk.

Usage

gen_deck_outline(
  title,
  ...,
  api_key = oai_get_default_key(),
  description = NULL,
  minutes = NULL,
  section_titles = NULL
)

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.

Value

A list of character vectors. 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.