class_docstr: Creates the embedding base by interacting with cohere hosted services.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:CohereEmbeddingOperator`
  
  :param input_text: single string text or list of text items that need to be embedded.
  :param conn_id: Optional. The name of the Airflow connection to get connection
      information for Cohere. Defaults to "cohere_default".
  :param timeout: Timeout in seconds for Cohere API.
  :param max_retries: Number of times to retry before failing.
docstr: Return an instance of the CohereHook.
code: def hook(self) -> CohereHook:
      """Return an instance of the CohereHook."""
      return CohereHook(
          conn_id=self.conn_id,
          timeout=self.timeout,
          max_retries=self.max_retries,
      )
  
file_path: airflow/airflow/providers/cohere/operators/embedding.py
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.models import BaseOperator
  from airflow.providers.cohere.hooks.cohere import CohereHook
label_desc: Use image node_id 2 for calling the CohereEmbeddingOperator obj's underlying member method code with example usage: obj.hook() and returns: CohereHook