Skip to main content
Compute L2-normalized sentence embeddings for a batch of short strings.

Parameters

List[str]
required
List of 1..128 UTF-8 strings — short object descriptions.
float | None
Optional timeout in seconds for the HTTP request.

Returns

Dict[str, Any]: Dict with features of shape (len(text), 768), float32 and L2-normalized per row (cosine similarity == dot product); model_revision of the backing checkpoint; and normalized=True.

Example