langchain/libs/partners/xai
Sydney Runkle 7e926520d5
packaging: remove Python upper bound for langchain and co libs (#31025)
Follow up to https://github.com/langchain-ai/langsmith-sdk/pull/1696,
I've bumped the `langsmith` version where applicable in `uv.lock`.

Type checking problems here because deps have been updated in
`pyproject.toml` and `uv lock` hasn't been run - we should enforce that
in the future - goes with the other dependabot todos :).
2025-04-28 14:44:28 -04:00
..
langchain_xai xai[patch]: support reasoning content (#30758) 2025-04-11 14:00:27 +00:00
scripts
tests xai[patch]: support reasoning content (#30758) 2025-04-11 14:00:27 +00:00
LICENSE
Makefile infra: add UV_FROZEN to makefiles (#29642) 2025-02-06 14:36:54 -05:00
pyproject.toml packaging: remove Python upper bound for langchain and co libs (#31025) 2025-04-28 14:44:28 -04:00
README.md
uv.lock packaging: remove Python upper bound for langchain and co libs (#31025) 2025-04-28 14:44:28 -04:00

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.