Description Usage Arguments Examples
Provides the embedding for the input text. Returns a single vector of floating point numbers for your input, known as a text embedding. Among other uses, a text embedding enables you to calculate the similarity between two documents or two words.
1 | ros_embedding(content, genre = NULL, language = NULL)
|
content |
either a URI or character vector of content to process |
genre |
document genre (optional) |
language |
Language: ISO 639-3 code (optional) |
1 | ros_embedding("Cambridge, Massachusetts")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.