promptr: Format and Complete Few-Shot LLM Prompts

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 <jornstein at uga.edu>
BugReports: https://github.com/joeornstein/promptr/issues
License: MIT + file LICENSE
URL: https://github.com/joeornstein/promptr
NeedsCompilation: no
Materials: README NEWS
CRAN checks: promptr results

Documentation:

Reference manual: promptr.pdf

Downloads:

Package source: promptr_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: promptr_1.0.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): promptr_1.0.0.tgz, r-oldrel (arm64): promptr_1.0.0.tgz, r-release (x86_64): promptr_1.0.0.tgz, r-oldrel (x86_64): promptr_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=promptr to link to this page.