# Embeddings

> langchain_cohere → Embeddings

## Classes

- [`CohereRerank`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank)
- [`CohereRagRetriever`](https://reference.langchain.com/python/langchain-cohere/rag_retrievers/CohereRagRetriever)
- [`CohereEmbeddings`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings)
- [`BaseCohere`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere)
- [`Cohere`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere)
- [`ChatCohere`](https://reference.langchain.com/python/langchain-cohere/chat_models/ChatCohere)
- [`CohereCitation`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation)
- [`CohereToolsReactAgentOutputParser`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/CohereToolsReactAgentOutputParser)

## Functions

- [`enforce_stop_tokens()`](https://reference.langchain.com/python/langchain-cohere/llms/enforce_stop_tokens)
- [`completion_with_retry()`](https://reference.langchain.com/python/langchain-cohere/llms/completion_with_retry)
- [`acompletion_with_retry()`](https://reference.langchain.com/python/langchain-cohere/llms/acompletion_with_retry)
- [`get_role()`](https://reference.langchain.com/python/langchain-cohere/chat_models/get_role)
- [`get_cohere_chat_request()`](https://reference.langchain.com/python/langchain-cohere/chat_models/get_cohere_chat_request)
- [`get_role_v2()`](https://reference.langchain.com/python/langchain-cohere/chat_models/get_role_v2)
- [`get_cohere_chat_request_v2()`](https://reference.langchain.com/python/langchain-cohere/chat_models/get_cohere_chat_request_v2)
- [`render_structured_preamble()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_structured_preamble)
- [`render_tool()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_tool)
- [`render_observations()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_observations)
- [`convert_to_documents()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/convert_to_documents)
- [`render_intermediate_steps()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_intermediate_steps)
- [`multi_hop_prompt()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/multi_hop_prompt)
- [`create_directly_answer_tool()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/create_directly_answer_tool)
- [`render_role()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_role)
- [`render_messages()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/render_messages)
- [`create_cohere_react_agent()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/agent/create_cohere_react_agent)
- [`parse_jsonified_tool_use_generation()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/parse_jsonified_tool_use_generation)
- [`parse_answer_with_prefixes()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/parse_answer_with_prefixes)
- [`parse_actions()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/parse_actions)
- [`parse_citations()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/parse_citations)

## Modules

- [`langchain_cohere`](https://reference.langchain.com/python/langchain-cohere/langchain_cohere)
- [`rerank`](https://reference.langchain.com/python/langchain-cohere/rerank)
- [`utils`](https://reference.langchain.com/python/langchain-cohere/utils)
- [`cohere_agent`](https://reference.langchain.com/python/langchain-cohere/cohere_agent)
- [`rag_retrievers`](https://reference.langchain.com/python/langchain-cohere/rag_retrievers)
- [`embeddings`](https://reference.langchain.com/python/langchain-cohere/embeddings)
- [`llms`](https://reference.langchain.com/python/langchain-cohere/llms)
- [`chat_models`](https://reference.langchain.com/python/langchain-cohere/chat_models)
- [`common`](https://reference.langchain.com/python/langchain-cohere/common)
- [`react_multi_hop`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop)
- [`prompt`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt)
- [`agent`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/agent)
- [`parsing`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing)
- [`default_prompt_constants`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants)

## Constants

- [`client`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/client)
- [`top_n`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/top_n)
- [`model`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/model)
- [`cohere_api_key`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/cohere_api_key)
- [`base_url`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/base_url)
- [`user_agent`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/user_agent)
- [`model_config`](https://reference.langchain.com/python/langchain-cohere/rerank/CohereRerank/model_config)
- [`logger`](https://reference.langchain.com/python/langchain-cohere/utils/logger)
- [`JSON_TO_PYTHON_TYPES`](https://reference.langchain.com/python/langchain-cohere/utils/JSON_TO_PYTHON_TYPES)
- [`llm`](https://reference.langchain.com/python/langchain-cohere/rag_retrievers/CohereRagRetriever/llm)
- [`model_config`](https://reference.langchain.com/python/langchain-cohere/rag_retrievers/CohereRagRetriever/model_config)
- [`client`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/client)
- [`async_client`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/async_client)
- [`model`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/model)
- [`truncate`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/truncate)
- [`cohere_api_key`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/cohere_api_key)
- [`embedding_types`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/embedding_types)
- [`max_retries`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/max_retries)
- [`request_timeout`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/request_timeout)
- [`user_agent`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/user_agent)
- [`base_url`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/base_url)
- [`model_config`](https://reference.langchain.com/python/langchain-cohere/embeddings/CohereEmbeddings/model_config)
- [`logger`](https://reference.langchain.com/python/langchain-cohere/llms/logger)
- [`client`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/client)
- [`async_client`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/async_client)
- [`model`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/model)
- [`temperature`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/temperature)
- [`cohere_api_key`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/cohere_api_key)
- [`stop`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/stop)
- [`streaming`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/streaming)
- [`user_agent`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/user_agent)
- [`timeout_seconds`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/timeout_seconds)
- [`base_url`](https://reference.langchain.com/python/langchain-cohere/llms/BaseCohere/base_url)
- [`max_tokens`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/max_tokens)
- [`k`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/k)
- [`p`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/p)
- [`frequency_penalty`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/frequency_penalty)
- [`presence_penalty`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/presence_penalty)
- [`truncate`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/truncate)
- [`max_retries`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/max_retries)
- [`model_config`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/model_config)
- [`lc_secrets`](https://reference.langchain.com/python/langchain-cohere/llms/Cohere/lc_secrets)
- [`LC_TOOL_CALL_TEMPLATE`](https://reference.langchain.com/python/langchain-cohere/chat_models/LC_TOOL_CALL_TEMPLATE)
- [`preamble`](https://reference.langchain.com/python/langchain-cohere/chat_models/ChatCohere/preamble)
- [`model_config`](https://reference.langchain.com/python/langchain-cohere/chat_models/ChatCohere/model_config)
- [`model_name`](https://reference.langchain.com/python/langchain-cohere/chat_models/ChatCohere/model_name)
- [`start`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation/start)
- [`end`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation/end)
- [`text`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation/text)
- [`documents`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation/documents)
- [`document_ids`](https://reference.langchain.com/python/langchain-cohere/common/CohereCitation/document_ids)
- [`multi_hop_prompt_partial`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/multi_hop_prompt_partial)
- [`OUTPUT_KEY`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/OUTPUT_KEY)
- [`GROUNDED_ANSWER_KEY`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/parsing/GROUNDED_ANSWER_KEY)
- [`bos`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/bos)
- [`start_turn`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/start_turn)
- [`end_turn`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/end_turn)
- [`role_system`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/role_system)
- [`role_chatbot`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/role_chatbot)
- [`role_user`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/_SpecialToken/role_user)
- [`default_basic_rules`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/default_basic_rules)
- [`default_task_context`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/default_task_context)
- [`default_style_guide`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/default_style_guide)
- [`default_safety_rules`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/default_safety_rules)
- [`default_multi_hop_instruction`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/default_prompt_constants/default_multi_hop_instruction)
