ComponentsBundles
Cohere
Cohere components available in ottom8: Cohere Embeddings, Cohere Language Models, Cohere Rerank.
Cohere Embeddings
Generate embeddings using Cohere models.
| Input | Type | Required |
|---|---|---|
| Cohere API Key | str | Yes |
| Model | str | No |
Advanced options: Max Retries, Request Timeout, Truncate, User Agent
| Output | Type |
|---|---|
| Embeddings | Embeddings |
Cohere Language Models
Generate text using Cohere LLMs.
| Input | Type | Required |
|---|---|---|
| Cohere API Key | str | Yes |
| Input | str | No |
| System Message | str | No |
Advanced options: Stream, Temperature
| Output | Type |
|---|---|
| Model Response | Message |
| Language Model | LanguageModel |
Cohere Rerank
Rerank documents using the Cohere API.
| Input | Type | Required |
|---|---|---|
| Search Results | other | No |
| Cohere API Key | str | No |
| Model | str | No |
| Search Query | str | No |
Advanced options: Top N
| Output | Type |
|---|---|
| Reranked Documents | JSON |