Dispatches the verbs of the rmorie launcher. Verbs:
login [--email ADDRESS] [--code CODE] [--no-browser]sign in for the curated tables at data.rmorie.com with GitHub (device flow) or an emailed code: the data key, never a language model
login --token [KEY]store a data key you already have (prompts for it when KEY is omitted)
logoutforget the data key
doctorthe language-model routes set up on this machine, the one
askwill take, and the data keyconfig [show | help | get KEY | set KEY VALUE | unset KEY | setup | path]show or change the language-model settings (
morie_llm_config): a provider's key and model, Ollama, your own server, the route;setupwalks through themmodels [--route ROUTE]the models a route offers, the one in use marked
ask [--model NAME] [--route ROUTE] PROMPT...ask the model you set up, with the help of rmorie, rmoriebricklayer and rmoriedata at hand
analyze SUBJECT [JSON]run an analysis subject through
cli_main()explain FILENAME,inspect PATH,verify PATHread, browse and validate module output tables
profile-dataset PATH,sample PATH --n Nprofile a CSV, draw a sample from it
run-modules,pipelinerun several modules; the pipeline tracks compute emissions and seals them in a capsule
emissions,verify-pollutionmeasure this machine's compute emissions; run the pollution-to-health pipeline
percy,agent,chattalk to Perseus through the provider chain
selftest,tutorial,generate-template,updatesmoke test, walkthrough, first-paper scaffold, update check
crypto,ingest,download-bootstrap,exec,edit,percysuitsfile encryption, open-data feeds, bootstrap weights, evaluate R code, edit a file, pull models
versionprint the package version
help [start | llm | config | r]this list, or a guide: getting started, the language-model routes, every setting, the same from R
Usage
morie_cli(args = commandArgs(trailingOnly = TRUE), out = cat)Examples
morie_cli("version")
#> rmorie 1.4.5
morie_cli(c("ask", "--help"))
#> usage: rmorie ask [--model NAME] [--route ROUTE] PROMPT... ask the model you brought (ROUTE: own, ollama, a provider)
#> [1] 0
