Skip to main content

Embed Text

POST 

/v1/embedding/text

Generates text embeddings

nomic-embed-text was trained to support these tasks:

  • search_document (embedding document chunks for search & retrieval)
  • search_query (embedding queries for search & retrieval)
  • classification (embeddings for text classification)
  • clustering (embeddings for cluster visualization)

In the Nomic API or Python client, specify your task with the task_type parameter (default is search_document if no task_type is provided)

Using nomic-embed-text with other libraries requires you to use a prefix to specify your embedding task. See our HuggingFace model card for details.

Request

Responses

Successful Response