Summarize a function using a Large Language Model
Source:R/summarise_function_with_LLM.R
summarise_function_with_LLM.Rd
This function summarizes another function using a Language Model.
Usage
summarise_function_with_LLM(
foo_name,
llm_api_url = Sys.getenv("LLM_API_URL"),
llm_api_key = Sys.getenv("LLM_API_KEY"),
envir = environment()
)
Examples
if (FALSE) { # \dontrun{
summarise_function_with_LLM(foo_name = "get_active_functions",
envir = rlang::ns_env("assertHE"))
} # }