docs: update xai docs (#31382)

This commit is contained in:
ccurme 2025-05-27 15:09:51 -04:00 committed by GitHub
parent 6ecc85c163
commit c8a656c05b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -45,7 +45,9 @@
"id": "8304b4d9",
"metadata": {},
"source": [
"## Example"
"## Example\n",
"\n",
"See [ChatXAI docs](/docs/integrations/chat/xai) for detail and supported features."
]
},
{

View File

@ -218,6 +218,7 @@ class ChatXAI(BaseChatOpenAI): # type: ignore[override]
feature that enables Grok to ground its answers using results from web searches.
.. code-block:: python
from langchain_xai import ChatXAI
llm = ChatXAI(