EmbeddingUtils
Utility functions for working with embeddings.
Functions
Link copied to clipboard
Computes the L2 norm (Euclidean magnitude) of a float array vector.
Link copied to clipboard
Computes the cosine similarity between two float vectors of equal dimension.
Link copied to clipboard
Generates a deterministic, normalized embedding vector from a string.
Link copied to clipboard