apache-airflow-providers-cohere¶
The cohere provider gives Dags direct access to Cohere’s Embed and Rerank APIs — this page
compares that choice against common.ai.
When to use this provider¶
Use cohere when a Dag needs Cohere’s native embedding or reranking models:
CohereEmbeddingOperator— call Cohere’s Embed API directly viaCohereHook.CohereRerankOperator— reorder documents with Cohere’s Rerank API.
Use apache-airflow-providers-common-ai instead when the embedding step should stay vendor-neutral:
Document-to-vector-store pipelines with its document loader, embedding, and retrieval operators (see Common AI Operators), which are not tied to Cohere’s embedding models.
apache-airflow-providers-cohere package¶
Release: 1.7.0
Provider package¶
This package is for the cohere provider.
All classes for this package are included in the airflow.providers.cohere python package.
Installation¶
You can install this package on top of an existing Airflow installation via
pip install apache-airflow-providers-cohere.
For the minimum Airflow version supported, see Requirements below.
Requirements¶
The minimum Apache Airflow version supported by this provider distribution is 2.11.0.
PIP package |
Version required |
|---|---|
|
|
|
|
|
|
|
|
|
|
Downloading official packages¶
You can download officially released packages and verify their checksums and signatures from the Official Apache Download site