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>.

Getting started

Package details

AuthorJoe Ornstein [aut, cre, cph] (<https://orcid.org/0000-0002-5704-2098>)
MaintainerJoe Ornstein <jornstein@uga.edu>
LicenseMIT + file LICENSE
Version1.0.0
URL https://github.com/joeornstein/promptr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("promptr")

Try the promptr package in your browser

Any scripts or data that you put into this service are public.

promptr documentation built on Sept. 11, 2024, 8:15 p.m.