https://joeornstein.github.io/publications/ornstein-blasingame-truscott.pdf>.">

promptr: Format and Complete Few-Shot LLM Prompts (original) (raw)

Format and submit few-shot prompts to OpenAI's Large Language Models (LLMs). Designed to be particularly useful for text classification problems in the social sciences. Methods are described in Ornstein, Blasingame, and Truscott (2024) <https://joeornstein.github.io/publications/ornstein-blasingame-truscott.pdf>.

Version: 1.0.0
Depends: R (≥ 2.10)
Imports: curl, dplyr, glue, httr2, jsonlite, stringr
Published: 2024-08-23
DOI: 10.32614/CRAN.package.promptr
Author: Joe Ornstein ORCID iD [aut, cre, cph]
Maintainer: Joe Ornstein
BugReports: https://github.com/joeornstein/promptr/issues
License: MIT + file
URL: https://github.com/joeornstein/promptr
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: promptr results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=promptrto link to this page.