Other packages > Find by keyword >

promptr  

Format and Complete Few-Shot LLM Prompts
View on CRAN: Click here


Download and install promptr package within the R console
Install from CRAN:
install.packages("promptr")

Install from Github:
library("remotes")
install_github("cran/promptr")

Install by package version:
library("remotes")
install_version("promptr", "1.0.0")



Attach the package and use:
library("promptr")
Maintained by
Joe Ornstein
[Scholar Profile | Author Map]
First Published: 2024-08-23
Latest Update: 2024-08-23
Description:
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>.
How to cite:
Joe Ornstein (2024). promptr: Format and Complete Few-Shot LLM Prompts. R package version 1.0.0, https://cran.r-project.org/web/packages/promptr. Accessed 02 Apr. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited promptr R package
View promptr citation profile
Other R packages that promptr depends, imports, suggests or enhances
Complete documentation for promptr
Functions, R codes and Examples using the promptr R package
Full promptr package functions and examples
Downloads during the last 30 days
03/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/01Downloads for promptr024681012141618TrendBars

Today's Hot Picks in Authors and Packages

pirate  
Generated Effect Modifier
An implementation of the generated effect modifier (GEM) method. This method constructs composite va ...
Download / Learn more Package Citations See dependency  
Maintainer: Zhe Su (view profile)
geonapi  
'GeoNetwork' API R Interface
Provides an R interface to the 'GeoNetwork' API () allowing ...
Download / Learn more Package Citations See dependency  
munfold  
Metric Unfolding
Multidimensional unfolding using Schoenemann's algorithm for metric and Procrustes rotation of unfo ...
Download / Learn more Package Citations See dependency  
binom  
Binomial Confidence Intervals for Several Parameterizations
Constructs confidence intervals on the probability of success in a binomial experiment via several ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
CodeDepends  
Analysis of R Code for Reproducible Research and Code Comprehension
Tools for analyzing R expressions or blocks of code and determining the dependencies between them. ...
Download / Learn more Package Citations See dependency  

23,990

R Packages

207,311

Dependencies

64,809

Author Associations

23,991

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA