get_cosine_similarity
Calculate cosine similarity between two texts to measure their semantic similarity, returning a score from 0 (orthogonal) to 1 (identical) using bag-of-words vectors.
Instructions
Cosine similarity using bag-of-words vectors. 0=orthogonal, 1=identical.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text1 | Yes | ||
| text2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |