upd readme
diff --git a/man/gpt_single_embedding.Rd b/man/gpt3_single_embedding.Rd
similarity index 82%
rename from man/gpt_single_embedding.Rd
rename to man/gpt3_single_embedding.Rd
index 4742405..4b38629 100644
--- a/man/gpt_single_embedding.Rd
+++ b/man/gpt3_single_embedding.Rd
@@ -1,10 +1,10 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gpt3_single_embedding.R
-\name{gpt_single_embedding}
-\alias{gpt_single_embedding}
+\name{gpt3_single_embedding}
+\alias{gpt3_single_embedding}
\title{Obtains text embeddings for a single character (string) from the GPT-3 API}
\usage{
-gpt_single_embedding(input, model = "text-similarity-ada-001")
+gpt3_single_embedding(input, model = "text-similarity-ada-001")
}
\arguments{
\item{input}{character that contains the text for which you want to obtain text embeddings from the GPT-3 model}
@@ -15,7 +15,7 @@
A numeric vector (= the embedding vector)
}
\description{
-\code{gpt_single_embedding()} sends a single \href{https://beta.openai.com/docs/guides/embeddings}{embedding request} to the Open AI GPT-3 API.
+\code{gpt3_single_embedding()} sends a single \href{https://beta.openai.com/docs/guides/embeddings}{embedding request} to the Open AI GPT-3 API.
}
\details{
The function supports the text similarity embeddings for the four GPT-3 models as specified in the parameter list. The main difference between the four models is the sophistication of the embedding representation as indicated by the vector embedding size.
@@ -37,9 +37,9 @@
## Simple request with defaults:
sample_string = "London is one of the most liveable cities in the world. The city is always full of energy and people. It's always a great place to explore and have fun."
-gpt_single_embedding(input = sample_string)
+gpt3_single_embedding(input = sample_string)
## Change the model:
-#' gpt_single_embedding(input = sample_string
+#' gpt3_single_embedding(input = sample_string
, model = 'text-similarity-curie-001')
}