Other packages > Find by keyword >

tidyprompt  

Prompt Large Language Models and Enhance Their Functionality
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("tidyprompt", "0.3.0")



Attach the package and use:
library("tidyprompt")
Maintained by
Luka Koning
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-01-08
Latest Update: 2025-01-08
Description:
Easily construct prompts and associated logic for interacting with large language models (LLMs). 'tidyprompt' introduces the concept of prompt wraps, which are building blocks that you can use to quickly turn a simple prompt into a complex one. Prompt wraps do not just modify the prompt text, but also add extraction and validation functions that will be applied to the response of the LLM. This ensures that the user gets the desired output. 'tidyprompt' can add various features to prompts and their evaluation by LLMs, such as structured output, automatic feedback, retries, reasoning modes, autonomous R function calling, and R code generation and evaluation. It is designed to be compatible with any LLM provider that offers chat completion.
How to cite:
Luka Koning (2025). tidyprompt: Prompt Large Language Models and Enhance Their Functionality. R package version 0.3.0, https://cran.r-project.org/web/packages/tidyprompt. Accessed 08 Mar. 2026.
Previous versions and publish date:
0.0.1 (2025-01-08 16:30), 0.1.0 (2025-08-18 11:20), 0.2.0 (2025-08-25 11:50)
Other packages that cited tidyprompt R package
View tidyprompt citation profile
Other R packages that tidyprompt depends, imports, suggests or enhances
Complete documentation for tidyprompt
Functions, R codes and Examples using the tidyprompt R package
Full tidyprompt package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

generator  
Generate Data Containing Fake Personally Identifiable Information
Allows users to quickly and easily generate fake data containing Personally Identifiable Informatio ...
Download / Learn more Package Citations See dependency  
candisc  
Visualizing Generalized Canonical Discriminant and Canonical Correlation Analysis
Functions for computing and visualizing generalized canonical discriminant analyses and canonical c ...
Download / Learn more Package Citations See dependency  
ptycho  
Bayesian Variable Selection with Hierarchical Priors
Bayesian variable selection for linear regression models using hierarchical priors. There is a pr ...
Download / Learn more Package Citations See dependency  
vars  
VAR Modelling
Estimation, lag selection, diagnostic testing, forecasting, causality analysis, forecast error varia ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

26,270

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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