# langchain_cohere

> Python package

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere)

## Classes

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

## Functions

- [`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)
- [`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)
- [`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)
- [`create_cohere_react_agent()`](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/agent/create_cohere_react_agent)
- [`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)
