mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 03:26:17 +00:00
docs(xai): update for Grok 4 (#31953)
This commit is contained in:
@@ -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)."
|
||||
]
|
||||
}
|
||||
],
|
||||
|
@@ -63,7 +63,7 @@
|
||||
"\n",
|
||||
"chat = ChatXAI(\n",
|
||||
" # xai_api_key=\"YOUR_API_KEY\",\n",
|
||||
" model=\"grok-beta\",\n",
|
||||
" model=\"grok-4\",\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"# stream the response back from the model\n",
|
||||
|
Reference in New Issue
Block a user