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
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"