Package: promptr 1.0.1

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

Authors:Joe Ornstein [aut, cre, cph]

promptr_1.0.1.tar.gz
promptr_1.0.1.zip(r-4.7-any)promptr_1.0.1.zip(r-4.6-any)promptr_1.0.1.zip(r-4.5-any)
promptr_1.0.1.tgz(r-4.6-any)promptr_1.0.1.tgz(r-4.5-any)
promptr_1.0.1.tar.gz(r-4.7-any)promptr_1.0.1.tar.gz(r-4.6-any)
promptr_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
promptr/json (API)

# Install 'promptr' in R:
install.packages('promptr', repos = c('https://joeornstein.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/joeornstein/promptr/issues

Datasets:

On CRAN:

Conda:

4.10 score 21 stars 12 scripts 250 downloads 5 exports 23 dependencies

Last updated from:0ddedd1461. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK97
source / vignettesOK175
linux-releaseOK95
macos-releaseOK91
macos-oldrelOK108
windows-develOK60
windows-releaseOK58
windows-oldrelOK54
wasm-releaseOK98

Exports:complete_chatcomplete_promptformat_chatformat_promptopenai_api_key

Dependencies:askpassclicurldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslpillarpkgconfigR6rlangstringistringrsystibbletidyselectutf8vctrswithr