From e377621fec17169bf11efd27785e5553e950c15f Mon Sep 17 00:00:00 2001 From: Hause Lin Date: Mon, 19 Aug 2024 00:06:07 -0400 Subject: [PATCH] Fix typo --- R/ollama.R | 2 +- man/generate.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/ollama.R b/R/ollama.R index c3c0d5f..3b3414c 100644 --- a/R/ollama.R +++ b/R/ollama.R @@ -55,7 +55,7 @@ create_request <- function(endpoint, host = NULL) { #' Generate a response for a given prompt #' #' @param model A character string of the model name such as "llama3". -#' @param prompt A character string of the promp like "The sky is..." +#' @param prompt A character string of the prompt like "The sky is..." #' @param suffix A character string after the model response. Default is "". #' @param images A path to an image file to include in the prompt. Default is "". #' @param system A character string of the system prompt (overrides what is defined in the Modelfile). Default is "". diff --git a/man/generate.Rd b/man/generate.Rd index f77cba1..fd40dc5 100644 --- a/man/generate.Rd +++ b/man/generate.Rd @@ -24,7 +24,7 @@ generate( \arguments{ \item{model}{A character string of the model name such as "llama3".} -\item{prompt}{A character string of the promp like "The sky is..."} +\item{prompt}{A character string of the prompt like "The sky is..."} \item{suffix}{A character string after the model response. Default is "".}