From 0fdfe5764818863e55a8e282a7335cba80f3808e Mon Sep 17 00:00:00 2001 From: Angelo D'Ambrosio Date: Wed, 17 Apr 2024 10:16:34 +0200 Subject: [PATCH] docs: fix messages typos --- R/LLM_calls.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/LLM_calls.R b/R/LLM_calls.R index f56b658..46a4762 100644 --- a/R/LLM_calls.R +++ b/R/LLM_calls.R @@ -261,7 +261,7 @@ interrogate_llm <- function( #' Use OpenAI Language Model #' -#' Sends a request to the OpenAI API using the parameters in the `body` +#' Sends a request to the OpenAI API using the parameters in the `body` #' argument. It requires an API key and model identifier set in the R options. #' #' @param body The body of the request. @@ -277,7 +277,7 @@ use_openai_llm <- function( ) { if (is.null(api_key) || is.null(model)) { - stop("OpenAI GPT model and API key are not set. ", + stop("OpenAI GPT model or API key are not set. ", "Use the following options to set them:\n", "minutemaker_openai_model_gpt, ", "minutemaker_open_api_key options.")