r-tidyprompt 0.3.0
Propagated dependencies: r-stringr@1.6.0 r-s7@0.2.1 r-rlang@1.1.6 r-r6@2.6.1 r-jsonlite@2.0.0 r-httr2@1.2.1 r-glue@1.8.0 r-dplyr@1.1.4 r-cli@3.6.5
Channel: guix-cran
Licenses: GPL 3+ FSDG-compatible
Build system: r
Synopsis: Prompt Large Language Models and Enhance Their Functionality
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.
Total results: 1