Skip to contents

Starts the local assistant app bundled with the package. The app can read delimited text and Excel files, preview uploaded data, profile columns, apply optional manual column overrides, and pass the data profile to predmicror_assistant(). If the bundled app is not available, a fallback app is created from the installed R functions.

Usage

predmicror_assistant_app(
  model = "llama3-groq-tool-use:8b",
  root = NULL,
  host = "127.0.0.1",
  port = NULL,
  launch.browser = interactive()
)

Arguments

model

Default Ollama model name used by predmicror_assistant(). The app also exposes a model selector populated from ollama list when Ollama is available.

root

Optional package root used for assistant context collection.

host

Host passed to shiny::runApp(). Defaults to "127.0.0.1".

port

Optional port passed to shiny::runApp().

launch.browser

Logical; whether to launch a browser.

Value

Runs the Shiny app.

Examples

if (FALSE) { # interactive()
predmicror_assistant_app()
}