✨ Generate sentence embeddings using Sentence Transformers models. This endpoint runs on this domain and proxies to the embeddings service.
Make a POST request to /generate-embeddings/ with a JSON body containing the sentences to embed and the model to use:
{
"sentences": ["Sentence one.", "Sentence two."],
"model": "all-MiniLM-L6-v2"
}
Available models:
all-MiniLM-L6-v2 — fast, lightweight general-purpose embeddingsintfloat/e5-large-v2 — larger, higher-quality embeddingsFor the authoritative, always-up-to-date request/response schema, see the interactive docs: API Docs
The API returns a JSON object containing the embeddings for each input sentence.