Availble models
Cohere has multiple models with various sizes and languages, here’s the one we use in our example. You can replace it with any embedding model supported by Cohere:Model | Dimensions | Max Tokens | Cost | MTEB Avg Score | Similarity Metrics |
---|---|---|---|---|---|
embed-english-v3.0 | 1024 | 512 | $0.10 / 1M Tokens | 64.5 | cosine |
Usage
Cohere’s API includes aninputType
that allows you to specify the type of input you are embedding.
For example, is it a document that you will later retrieve? a question that you use for searching documents?
Texts for classification or clustering?