Description Usage Arguments Value
Similarity between embedding vectors and query vector
1 | query_similarity(word_vectors, query, sort_result = TRUE)
|
word_vectors |
The embedding vectors |
query |
The query vector |
sort_result |
Flag whether to sort by cosine similarity |
List of cosine similarities to query vector for each word in the embedding
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.