Learn R Programming

tidyllm (version 0.6.0)

tidyllm_example_app: Run a tidyllm example Shiny app

Description

The apps ship with the installed package, so they always match the version of tidyllm you have. Each one defaults to a local ollama() model and therefore runs with no API key and no spend; a dropdown switches to the cloud providers.

Usage

tidyllm_example_app(.app = NULL, ...)

Value

Invisibly, the path to the app that was run.

Arguments

.app

Name of the app to run. With no argument the available apps are listed.

...

Passed to shiny::runApp().

Details

Available apps:

"model_explainer": fits a linear model to a small public dataset and streams two explanations of the coefficients side by side, one plain-English and one adversarial. Every number is computed in R; the model only narrates the coefficient table it is shown.

Examples

Run this code
if (FALSE) {
tidyllm_example_app()
tidyllm_example_app("model_explainer")
}

Run the code above in your browser using DataLab