-
Notifications
You must be signed in to change notification settings - Fork 1
/
DESCRIPTION
54 lines (54 loc) · 1.81 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Package: tidyprompt
Title: Prompt Large Language Models and Enhance Their Functionality
Version: 0.0.1
Authors@R:
c(person(given = "Luka",
family = "Koning",
role = c("aut", "cre", "cph"),
email = "[email protected]"),
person(given = "Tjark",
family = "Van de Merwe",
role = c("aut", "cph"),
email = "[email protected]"),
person(given = "Kennispunt Twente",
role = "fnd",
email = "[email protected]"))
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.
License: GPL (>= 3) | file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
URL: https://github.com/tjarkvandemerwe/tidyprompt, https://tjarkvandemerwe.github.io/tidyprompt/
BugReports: https://github.com/tjarkvandemerwe/tidyprompt/issues
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0),
here,
callr,
skimr,
jsonvalidate,
tidyjson,
DBI
VignetteBuilder: knitr
Imports:
dplyr,
glue,
httr2,
jsonlite,
stringr,
utils,
cli
Config/testthat/edition: 3