View source: R/LLM_parallel_utils.R
| llm_add_request_hash | R Documentation |
Adds a request_hash column to a data frame that still carries the config
and messages list-columns (such as the result of call_llm_par()). The
hash is the same key llm_request_hash() produces, so the parallel path can
be joined to the audit log written by llm_log_enable(). Equivalent to
calling call_llm_par(..., .request_hash = TRUE) after the fact.
llm_add_request_hash(df)
df |
A data frame with |
df with an added request_hash character column.
call_llm_par(), llm_request_hash().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.