View source: R/documentation.R
| document_start | R Documentation |
Calling 'document_start()' enables automatic logging for subsequent 'localLLM' calls. Information such as timestamps, models, and generation settings are buffered in-memory until [document_end()] is invoked, at which point a human-readable text report is written to disk.
document_start(path = NULL, metadata = list(), append = FALSE)
path |
Optional log file path. Defaults to 'localLLM_run_<timestamp>.txt' in the working directory. |
metadata |
Optional named list of user-defined metadata to include in the log header (e.g. project name, dataset id). |
append |
When 'TRUE', entries are appended to an existing file instead of overwriting it. |
The path that will be written when [document_end()] is called.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.