Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Added documentation for together ai embeddings endpoint #223

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Chroma provides lightweight wrappers around popular embedding providers, making
| [Instructor](/embeddings/instructor) | ✅ | ➖ |
| [Hugging Face Embedding Server](/embeddings/hugging-face-embedding-server) | ✅ | ✅ |
| [Jina AI](/embeddings/jinaai) | ✅ | ✅ |
| [Together AI](/embeddings/together-ai-embeddings) | ✅ | ➖ |
| [Roboflow](/embeddings/roboflow-api) | ✅ | ➖ |

We welcome pull requests to add new Embedding Functions to the community.
Expand Down
16 changes: 16 additions & 0 deletions docs/embeddings/together-ai-embeddings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
---

# Together Embeddings Endpoint.

Together AI Recently launched [embeddings](https://docs.together.ai/docs/embeddings-rest) inference endpoints, you can use them with Chroma using `TogetherAIEmbeddingFunction`.

A list of available embedding models can be seen [here](https://docs.together.ai/docs/embedding-models)
You can get your API Keys from [here](https://api.together.xyz/settings/api-keys)

```python
import chromadb.utils.embedding_functions as embedding_functions
together_embedding = embedding_functions.TogetherAIEmbeddingFunction(
api_key=api_key, model=model_name)

```
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const sidebars = {
'embeddings/roboflow-api',
'embeddings/hugging-face-embedding-server',
'embeddings/jinaai',
'embeddings/together-ai-embeddings',
],
},
],
Expand Down