Package: LLMR.shiny 0.1.2

LLMR.shiny: Shared 'Shiny' Components for 'LLMR' Family Applications

Reusable 'Shiny' user interface and server components from which the graphical applications in the 'LLMR' package family are assembled.

Authors:Ali Sanaei [aut, cre]

LLMR.shiny_0.1.2.tar.gz
LLMR.shiny_0.1.2.zip(r-4.7-any)LLMR.shiny_0.1.2.zip(r-4.6-any)LLMR.shiny_0.1.2.zip(r-4.5-any)
LLMR.shiny_0.1.2.tgz(r-4.6-any)LLMR.shiny_0.1.2.tgz(r-4.5-any)
LLMR.shiny_0.1.2.tar.gz(r-4.7-any)LLMR.shiny_0.1.2.tar.gz(r-4.6-any)
LLMR.shiny_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
LLMR.shiny/json (API)

# Install 'LLMR.shiny' in R:
install.packages('LLMR.shiny', repos = c('https://asanaei.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/asanaei/llmr.shiny/issues

On CRAN:

Conda:

3.40 score 35 exports 30 dependencies

Last updated from:dfd30725ba. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE136
source / vignettesOK207
linux-release-x86_64NOTE145
macos-release-arm64NOTE87
macos-oldrel-arm64NOTE81
windows-devel-x86_64NOTE100
windows-release-x86_64NOTE71
windows-oldrel-x86_64NOTE67
wasm-releaseOK142

Exports:annotate_demo_resultas_display_tablebuild_llm_configbuild_runnercolumn_names_for_mappingcondition_categorydemo_banner_uidemo_noticedemo_runnerdiagnostics_tableextract_token_countsinstall_guidance_uiis_demo_resultkey_statekey_state_tilelive_run_blocker_uimap_columnspersona_selector_serverpersona_selector_uiprovider_choicesprovider_default_modelprovider_display_nameprovider_env_varsprovider_registryread_csv_pathread_csv_uploadreport_textsafe_llmr_callshell_contextshell_sidebarusage_addusage_emptyusage_set_planusage_tilevalidate_column_mapping

Dependencies:base64encbslibcachemclicommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRcpprlangsassshinysourcetoolswithrxtable

Readme and manuals

Help Manual

Help pageTopics
Mark a result frame as demonstration outputannotate_demo_result
Coerce an arbitrary result to a display tableas_display_table
Build an LLM configbuild_llm_config
Build an execution function for a modebuild_runner
Column names of a data frame, for a mapping select inputcolumn_names_for_mapping
Error category of a caught conditioncondition_category
A banner announcing a demonstration resultdemo_banner_ui
Demo-result notice stringdemo_notice
An offline demonstration response functiondemo_runner print.llmrshiny_demo_result
Render an object's 'diagnostics()' as a display tablediagnostics_table
Extract call/token counts from a result frameextract_token_counts
Install-guidance card for a missing packageinstall_guidance_ui
Is a result a demonstration result?is_demo_result
Key state for a provider, read from the environment onlykey_state
A tile reporting key state (never the key value)key_state_tile
A banner shown when a live run is blocked for want of a keylive_run_blocker_ui
Map user columns to 'text' (and optionally 'labels')map_columns
Server for the persona selector modulepersona_selector_server
UI for the persona selector modulepersona_selector_ui
Provider choices for a select inputprovider_choices
Default model for a providerprovider_default_model
Display name for a providerprovider_display_name
Environment-variable names a provider's key may live inprovider_env_vars
Provider registryprovider_registry
Read a CSV from a pathread_csv_path
Read an uploaded CSV (a Shiny fileInput value)read_csv_upload
Render an object's 'report()' prose, falling back to print outputreport_text
Run an expression, capturing any error as a bannersafe_llmr_call
Wire the standard sidebar and return the shared reactive contextshell_context
The standard GUI sidebar: provider, model, mode, key tile, usage tileshell_sidebar
Add realized usage to a usage recordusage_add
An empty usage recordusage_empty
Record a planned run on a usage recordusage_set_plan
A value box reporting session usageusage_tile
Validate a column mappingvalidate_column_mapping