An integration package connecting xAI and LangChain
langchain-xai
This package contains the LangChain integrations for xAI through their APIs.
Installation and Setup
Install the LangChain partner package
pip install -U langchain-xai
Get your xAI api key from the xAI Dashboard and set it as an environment variable (XAI_API_KEY)
Chat Completions
This package contains the ChatXAI class, which is the recommended way to interface with xAI chat models.
- RPM
- python3-langchain-xai-1.2.2-1.lbn42.noarch.rpm
- Summary
- An integration package connecting xAI and LangChain
- URL
- https://pypi.org/project/langchain-xai
- Group
- Unspecified
- License
- ZPL
- Source
-
python-langchain-xai-1.2.2-1.lbn42.src.rpm
- Checksum
- e1f83e7fc1d766ab64d1203d343a2e80d57b51c6c197a0349dc68d38e2129b15
- Signing Signature
- HEX_SIG:8902330400010a001d1621045d5e2fa2
- Build Date
- 2026/05/26 09:53:05
- Requires
- Provides
-
python-langchain-xai = 1.2.2-1.lbn42
python3-langchain-xai = 1.2.2-1.lbn42
python3.13-langchain-xai = 1.2.2-1.lbn42
python3.13dist(langchain-xai) = 1.2.2
python3dist(langchain-xai) = 1.2.2
- Obsoletes