Skip to contents

The embeddings are currently retrieved from a local 'ollama' server running Jina AI embeddings.

Usage

pkgmatch_embeddings_from_text(input = NULL)

Arguments

input

A vector of one or more text strings for which embeddings are to be extracted.

Value

A matrix of embeddings, one column for each input item, and a fixed number of rows defined by the embedding length of the language models.

See also

Other embeddings: pkgmatch_embeddings_from_pkgs()

Examples

if (FALSE) { # \dontrun{
input <- "Download open spatial data from NASA"
emb <- pkgmatch_embeddings_from_text (input = input)
} # }