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 03 May. 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
04/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/01Downloads for promptr246810121416182022TrendBars

Today's Hot Picks in Authors and Packages

TestDesign  
Optimal Test Design Approach to Fixed and Adaptive Test Construction
Uses the optimal test design approach by Birnbaum (1968, ISBN:9781593119348) and van der Linden (201 ...
Download / Learn more Package Citations See dependency  
farrell  
Interactive Interface to Data Envelopment Analysis Modeling
Allows the user to execute interactively radial data envelopment analysis models. The user has the a ...
Download / Learn more Package Citations See dependency  
grabsampling  
Probability of Detection for Grab Sample Selection
Functions for obtaining the probability of detection, for grab samples selection by using two differ ...
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  
mlr3fselect  
Feature Selection for 'mlr3'
Feature selection package of the 'mlr3' ecosystem. It selects the optimal feature set for any 'mlr3 ...
Download / Learn more Package Citations See dependency  
nlsem  
Fitting Structural Equation Mixture Models
Estimation of structural equation models with nonlinear effects and underlying nonnormal distributi ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,312

Author Associations

24,143

Publication Badges

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