diff --git a/docs/docs/integrations/chat/xai.ipynb b/docs/docs/integrations/chat/xai.ipynb index 6f13101000b..22cc06d256f 100644 --- a/docs/docs/integrations/chat/xai.ipynb +++ b/docs/docs/integrations/chat/xai.ipynb @@ -18,7 +18,7 @@ "# ChatXAI\n", "\n", "\n", - "This page will help you get started with xAI [chat models](../../concepts/chat_models.mdx). For detailed documentation of all `ChatXAI` features and configurations head to the [API reference](https://python.langchain.com/api_reference/xai/chat_models/langchain_xai.chat_models.ChatXAI.html).\n", + "This page will help you get started with xAI [chat models](../../concepts/chat_models.mdx). For detailed documentation of all `ChatXAI` features and configurations, head to the [API reference](https://python.langchain.com/api_reference/xai/chat_models/langchain_xai.chat_models.ChatXAI.html).\n", "\n", "[xAI](https://console.x.ai/) offers an API to interact with Grok models.\n", "\n", @@ -36,11 +36,11 @@ "\n", "## Setup\n", "\n", - "To access xAI models you'll need to create an xAI account, get an API key, and install the `langchain-xai` integration package.\n", + "To access xAI models, you'll need to create an xAI account, get an API key, and install the `langchain-xai` integration package.\n", "\n", "### Credentials\n", "\n", - "Head to [this page](https://console.x.ai/) to sign up for xAI and generate an API key. Once you've done this set the `XAI_API_KEY` environment variable:" + "Head to [this page](https://console.x.ai/) to sign up for xAI and generate an API key. Once you've done this, set the `XAI_API_KEY` environment variable:" ] }, { @@ -243,7 +243,7 @@ "\n", "### ChatXAI.bind_tools()\n", "\n", - "With `ChatXAI.bind_tools`, we can easily pass in Pydantic classes, dict schemas, LangChain tools, or even functions as tools to the model. Under the hood these are converted to an OpenAI tool schemas, which looks like:\n", + "With `ChatXAI.bind_tools`, we can easily pass in Pydantic classes, dict schemas, LangChain tools, or even functions as tools to the model. Under the hood, these are converted to an OpenAI tool schema, which looks like:\n", "```\n", "{\n", " \"name\": \"...\",\n", @@ -345,7 +345,7 @@ "source": [ "## API reference\n", "\n", - "For detailed documentation of all `ChatXAI` features and configurations head to the API reference: https://python.langchain.com/api_reference/xai/chat_models/langchain_xai.chat_models.ChatXAI.html" + "For detailed documentation of all `ChatXAI` features and configurations, head to the API reference: https://python.langchain.com/api_reference/xai/chat_models/langchain_xai.chat_models.ChatXAI.html" ] } ], @@ -365,7 +365,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.4" + "version": "3.12.10" } }, "nbformat": 4,