Skip to main content
Pass a current Together model and its matching dimensions explicitly. TogetherEmbedder reads TOGETHER_API_KEY and calls Together through the OpenAI SDK.
The Agno v2.7.2 default, togethercomputer/m2-bert-80M-32k-retrieval, was removed on February 6, 2026. Together’s current serverless catalog lists intfloat/multilingual-e5-large-instruct with 1024 dimensions. See Together deprecations and serverless models.
together_embedder.py

Run the Example

1

Set up your virtual environment

2

Export the API key

3

Install dependencies

4

Run the example

Developer Resources