Embeddings
Create embedding
Generate vector embeddings for one or more text inputs. Returns numerical arrays representing semantic meaning, useful for search, classification, and retrieval.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.together.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The name of the embedding model to use.
See all of Together AI's embedding models
Available options:
WhereIsAI/UAE-Large-V1, BAAI/bge-large-en-v1.5, BAAI/bge-base-en-v1.5, togethercomputer/m2-bert-80M-8k-retrieval Example:
"togethercomputer/m2-bert-80M-8k-retrieval"
A string providing the text for the model to embed.
Example:
"Our solar system orbits the Milky Way galaxy at about 515,000 mph"