langchain/libs/partners/xai
ccurme f3d370753f
xai[minor]: release 0.2 (#29132)
Update `langchain-openai` to 0.3. See [release
notes](https://github.com/langchain-ai/langchain/releases/tag/langchain-openai%3D%3D0.3.0)
for details. Should only impact default values of `temperature`, `n`,
and `max_retries`.
2025-01-10 11:47:27 -05:00
..
langchain_xai openai[minor]: release 0.3 (#29100) 2025-01-10 10:50:32 -05:00
scripts
tests openai[minor]: release 0.3 (#29100) 2025-01-10 10:50:32 -05:00
LICENSE
Makefile openai[minor]: release 0.3 (#29100) 2025-01-10 10:50:32 -05:00
poetry.lock xai[minor]: release 0.2 (#29132) 2025-01-10 11:47:27 -05:00
pyproject.toml xai[minor]: release 0.2 (#29132) 2025-01-10 11:47:27 -05:00
README.md

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.