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: Embed texts using Cohere embed services.
code: def execute(self, context: Context) -> list[list[float]]:
      """Embed texts using Cohere embed services."""
      return self.hook.create_embeddings(self.input_text)
  
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 3 for calling the CohereEmbeddingOperator obj's underlying member method code with example usage: obj.execute(context) and returns: self