n.kt#L79">source</a>)</span></span></div><p class="paragraph"><strong>ENTERPRISE EDITION API</strong></p><p class="paragraph">Creates a function that returns the cosine distance which one minus the cosine similarity between the two input vectors. The result is a floating-point number ranges from −1.0 to 1.0. The expression1 and expression2 must be arrays of numbers, and must be the same length.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">The cosine distance between two given inp