Stores your MORIE data key, the key that opens the curated tables at
data.rmorie.com (morie_load_hosted_dataset). It is never a language
model: those you bring yourself (morie_llm_config). With
token the key you already hold is checked with the data service and
stored; with email a one-time code is sent there; otherwise the GitHub
device flow runs. The key is stored once, privately, for rmorie,
rmoriebricklayer, rmoriedata and morie. This is
rmoriebricklayer::bricklayer_llm_login().
Usage
morie_llm_login(
open_browser = interactive(),
poll_max_seconds = 600,
email = NULL,
code = NULL,
token = NULL,
...
)Arguments
- open_browser
Open the GitHub page in a browser.
- poll_max_seconds
How long to wait for the GitHub approval.
An email address to send a sign-in code to.
- code
The code that was emailed (asked for when not given).
- token
A key you already hold.
- ...
Passed to
rmoriebricklayer::bricklayer_llm_login(): the data access terms and who is asking, which a new key needs (accept_terms,name,affiliation,purpose,restricted,supervisor_name,supervisor_role,supervisor_email); what is not given is asked at the console.
