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 Jun. 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), 0.3.0 (2025-11-30 18:00)
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

FluMoDL  
Influenza-Attributable Mortality with Distributed-Lag Models
Functions to estimate the mortality attributable to influenza and temperature, using distributed-la ...
Download / Learn more Package Citations See dependency  
penppml  
Penalized Poisson Pseudo Maximum Likelihood Regression
A set of tools that enables efficient estimation of penalized Poisson Pseudo Maximum Likelihood reg ...
Download / Learn more Package Citations See dependency  
geofacet  
'ggplot2' Faceting Utilities for Geographical Data
Provides geographical faceting functionality for 'ggplot2'. Geographical faceting arranges a sequen ...
Download / Learn more Package Citations See dependency  
ODMeans  
OD-Means: k-Means for Origin-Destination
OD-means is a hierarchical adaptive k-means algorithm based on origin-destination pairs. In the fir ...
Download / Learn more Package Citations See dependency  
AdvBinomApps  
Upper Clopper-Pearson Confidence Limits for Burn-in Studies under Additional Available Information
Functions to compute upper Clopper-Pearson confidence limits of early life failure probabilities and ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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