Skip to contents

Generate a summary from a data frame of prompts

Usage

add_summary(preprints, model = "llama3.1")

Arguments

preprints

Output from get_preprints() followed by add_prompt().

model

A model available to Ollama (run ollamar::list_models()) to see what's available.

Value

A tibble, with a response column added.

Examples

if (FALSE) { # \dontrun{
# Individual papers
preprints <-
  get_preprints(c("genomics", "bioinformatics")) |>
  add_prompt() |>
  add_summary()
preprints
} # }