Shared 'Shiny' Components for 'LLMR' Family Applications


[Up] [Top]

Documentation for package ‘LLMR.shiny’ version 0.1.2

Help Pages

annotate_demo_result Mark a result frame as demonstration output
as_display_table Coerce an arbitrary result to a display table
build_llm_config Build an LLM config
build_runner Build an execution function 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
demo_banner_ui A banner announcing a demonstration result
demo_notice Demo-result notice string
demo_runner An offline demonstration response function
diagnostics_table Render an object's 'diagnostics()' as a display table
extract_token_counts Extract call/token counts from a result frame
guess_column Guess a column for a data-mapping role
help_tip Inline help tooltip
install_guidance_ui Install-guidance card for a missing package
is_demo_result Is a result a demonstration 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_theme Shared theme for an LLMR studio
map_columns Map user columns to 'text' (and optionally 'labels')
persona_selector_server Server for the persona selector module
persona_selector_ui UI for the persona selector module
print.llmrshiny_demo_result An offline demonstration response function
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: mode, live configuration, and usage
text_block_output Output container for long text results
usage_add Add realized usage to a usage record
usage_empty An empty usage record
usage_set_plan Record a planned run on a usage record
usage_tile A value box reporting session usage
validate_column_mapping Validate a column mapping