Skip to main content
Upcoming release — Zylon 1.58These docs are published ahead of release so you can prepare your API integrations. The release image is not yet available. For installations running 1.57, use the 1.57 documentation.
Embeddings turn text into high‑dimensional vectors. Use them for semantic search, clustering, or similarity scoring across your own data.

Prerequisites

Before you start

  • Order matters: data[index] aligns with your input order.
  • Store the vectors in your database or vector index to power search and similarity.
  • Use consistent preprocessing (same casing and formatting) for better similarity results.

Create embeddings

Generate embeddings with POST /embeddings. The input can be a single string or an array.

Errors and edge cases

  • 401/403: token missing or invalid.
  • 413: input too large.
  • 400: invalid JSON or input type.