Skip to content

On-Demand Feature View Embedding Cosine Similarity

Please see the On-Demand Feature View Overview documentation for details on how an On-Demand Feature View works.

Cosine similarity between embeddings is a common and powerful cross feature that can be implemented with On-Demand Feature Views. In this example, the feature view is computing the similarity between a precomputed user embedding and a query embedding passed in the request to the Tecton Feature Service.