You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-langchain-cohere-0.4.4-1.lbn36.noarch

python3-langchain-cohere-0.4.4-1.lbn36.noarch

Package Attributes
RPM  python3-langchain-cohere-0.4.4-1.lbn36.noarch.rpm Architecture  noarch Size  269285 Created  2025/05/13 02:04:19 UTC
Package Specification
Summary An integration package connecting Cohere and LangChain
Group Unspecified
License ZPL
Home Page https://pypi.org/project/langchain-cohere
Description

Langchain-Cohere This package contains the LangChain integrations for Cohere. Cohere empowers every developer and enterprise to build amazing products and capture true business value with language AI. Installation

Install the langchain-cohere package:

pip install langchain-cohere

Get a Cohere API key and set it as an environment variable (COHERE_API_KEY)

Migration from langchain-community Cohere's integrations used to be part of the langchain-community package, but since version 0.0.30 the integration in langchain-community has been deprecated in favour langchain-cohere. The two steps to migrate are:

Import from langchain_cohere instead of langchain_community, for example:

from langchain_community.chat_models import ChatCohere -> from langchain_cohere import ChatCohere from langchain_community.retrievers import CohereRagRetriever -> from langchain_cohere import CohereRagRetriever from langchain.embeddings import CohereEmbeddings -> from langchain_cohere import CohereEmbeddings

Requires
rpmlib(PayloadIsZstd)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
Provides
python-langchain-cohere
python3-langchain-cohere
python3.10-langchain-cohere
python3.10dist(langchain-cohere)
python3dist(langchain-cohere)
Obsoletes
python-langchain-cohere

Document Actions