Skip to contents

Generate a list of titles for the major sections of a conference talk.

Usage

gen_deck_section_titles(
  title,
  ...,
  api_key = oai_get_default_key(),
  description = NULL,
  minutes = 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.

Value

A list of lists, each of which contains a title for a major sections of the talk, and an empty minutes object.