embed_text(
text,
model = NULL,
server = NULL,
model_params = NULL,
verbose = getOption("rollama_verbose", default = interactive())
)
Value
a tibble with embeddings.
Arguments
text
text vector to generate embeddings for.
model
which model to use. See https://ollama.com/library for
options. Default is "llama3.1". Set option(rollama_model = "modelname") to
change default for the current session. See pull_model for more
details.
server
URL to one or several Ollama servers (not the API). Defaults to
"http://localhost:11434".
Whether to print status messages to the Console
(TRUE/FALSE). The default is to have status messages in
interactive sessions. Can be changed with options(rollama_verbose =
FALSE).