mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-25 08:03:39 +00:00
docs: update xai docs (#31382)
This commit is contained in:
parent
6ecc85c163
commit
c8a656c05b
@ -45,7 +45,9 @@
|
|||||||
"id": "8304b4d9",
|
"id": "8304b4d9",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"## Example"
|
"## Example\n",
|
||||||
|
"\n",
|
||||||
|
"See [ChatXAI docs](/docs/integrations/chat/xai) for detail and supported features."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -218,6 +218,7 @@ class ChatXAI(BaseChatOpenAI): # type: ignore[override]
|
|||||||
feature that enables Grok to ground its answers using results from web searches.
|
feature that enables Grok to ground its answers using results from web searches.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from langchain_xai import ChatXAI
|
from langchain_xai import ChatXAI
|
||||||
|
|
||||||
llm = ChatXAI(
|
llm = ChatXAI(
|
||||||
|
Loading…
Reference in New Issue
Block a user