View source: R/summarise_function_with_LLM.R
summarise_function_with_LLM | R Documentation |
This function summarizes another function using a Language Model.
summarise_function_with_LLM(
foo_name,
llm_api_url = Sys.getenv("LLM_API_URL"),
llm_api_key = Sys.getenv("LLM_API_KEY"),
envir = environment()
)
foo_name |
function name |
llm_api_url |
url to the API for the LLM |
llm_api_key |
key for the API for the LLM |
envir |
The environment in which to look for the function. |
A character string with a summary of the function based on its arguments and body.
## Not run:
summarise_function_with_LLM(foo_name = "get_active_functions",
llm_api_url = Sys.getenv("LLM_API_URL"),
llm_api_key = Sys.getenv("LLM_API_KEY"),
envir = rlang::ns_env("assertHE"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.