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.0.1")



Attach the package and use:
library("tidyprompt")
Maintained by
Luka Koning
[Scholar Profile | Author Map]
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.0.1, https://cran.r-project.org/web/packages/tidyprompt. Accessed 01 Apr. 2025.
Previous versions and publish date:
No previous versions
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
03/0203/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/31Downloads for tidyprompt02468101214TrendBars

Today's Hot Picks in Authors and Packages

simplevis  
Wrappers to Simplify Beautiful "ggplot2" and "leaflet" Visualisation
Wrapper functions around the amazing 'leaflet' package that aims to simplify 'leaflet' visualisatio ...
Download / Learn more Package Citations See dependency  
samplesize  
Sample Size Calculation for Various t-Tests and Wilcoxon-Test
Computes sample size for Student's t-test and for the Wilcoxon-Mann-Whitney test for categorical dat ...
Download / Learn more Package Citations See dependency  
shinyBS  
Twitter Bootstrap Components for Shiny
Adds additional Twitter Bootstrap components to Shiny. ...
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  
gasmodel  
Generalized Autoregressive Score Models
Estimation, forecasting, and simulation of generalized autoregressive score (GAS) models of Creal, ...
Download / Learn more Package Citations See dependency  
eSIR  
Extended State-Space SIR Models
An implementation of extended state-space SIR models developed by Song Lab at UM school of Public H ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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