Shared 'Shiny' Substrate for 'LLMR' Family GUIs


[Up] [Top]

Documentation for package ‘LLMR.shiny’ version 0.1.1

Help Pages

%||% Null-coalescing operator
annotate_demo_result Mark a result as a demo result
as_display_table Coerce an arbitrary result to a display table
build_llm_config Build an LLM config, falling back to a plain list without LLMR
build_runner Build a runner for a mode
column_names_for_mapping Column names of a data frame, for a mapping select input
condition_category Error category of a caught condition
cost_add_usage Add realized usage to a cost record
cost_empty An empty cost-accounting record
cost_set_plan Record a planned run on a cost record
cost_tile A value box reporting session usage
demo_banner_ui A banner announcing a demo result
demo_notice Demo-result notice string
demo_runner A deterministic offline demo runner
diagnostics_table Render an object's 'diagnostics()' as a display table
extract_token_counts Extract call/token counts from a result frame
github_remote_for GitHub remote for an LLMR-family package
install_guidance_ui Install-guidance card for a missing package
is_auth_error Is a caught condition an auth error?
is_demo_result Is a result a demo result?
key_state Key state for a provider, read from the environment only
key_state_tile A tile reporting key state (never the key value)
live_run_blocker_ui A banner shown when a live run is blocked for want of a key
llmr_error_banner Map a caught LLM error to a banner card
map_columns Map user columns to 'text' (and optionally 'labels')
null-coalesce Null-coalescing operator
persona_selector_server Server for the persona selector module
persona_selector_ui UI for the persona selector module
pkg_available Is a package installed?
provider_choices Provider choices for a select input
provider_default_model Default model for a provider
provider_display_name Display name for a provider
provider_env_vars Environment-variable names a provider's key may live in
provider_registry Provider registry
read_csv_path Read a CSV from a path
read_csv_upload Read an uploaded CSV (a Shiny fileInput value)
report_text Render an object's 'report()' prose, falling back to print output
safe_llmr_call Run an expression, capturing any error as a banner
shell_context Wire the standard sidebar and return the shared reactive context
shell_sidebar The standard GUI sidebar: provider, model, mode, key tile, cost tile
validate_column_mapping Validate a column mapping