Skip to content

The agent engineering platform.

docs: fix incorrect grammar and vocabulary in ernie.ipynb (#31343)

Michael Lic8448c9a6168
diff --git a/docs/docs/integrations/chat/ernie.ipynb b/docs/docs/integrations/chat/ernie.ipynb
index b109c65be3..908e77fae2 100644
--- a/docs/docs/integrations/chat/ernie.ipynb
+++ b/docs/docs/integrations/chat/ernie.ipynb
@@ -25,17 +25,16 @@
"source": [
"**Deprecated Warning**\n",
"\n",
- "We recommend users using `langchain_community.chat_models.ErnieBotChat` \n",
- "to use `langchain_community.chat_models.QianfanChatEndpoint` instead.\n",
+ "We recommend users switch from `langchain_community.chat_models.ErnieBotChat` to `langchain_community.chat_models.QianfanChatEndpoint`.\n",
"\n",
"documentation for `QianfanChatEndpoint` is [here](/docs/integrations/chat/baidu_qianfan_endpoint/).\n",
"\n",
- "they are 4 why we recommend users to use `QianfanChatEndpoint`:\n",
+ "There are 4 reasons why we recommend users to use `QianfanChatEndpoint`:\n",
"\n",
- "1. `QianfanChatEndpoint` support more LLM in the Qianfan platform.\n",
- "2. `QianfanChatEndpoint` support streaming mode.\n",
- "3. `QianfanChatEndpoint` support function calling usgage.\n",
- "4. `ErnieBotChat` is lack of maintenance and deprecated."
+ "1. `QianfanChatEndpoint` supports more LLMs in the Qianfan platform.\n",
+ "2. `QianfanChatEndpoint` supports streaming mode.\n",
+ "3. `QianfanChatEndpoint` support function calling usage.\n",
+ "4. `ErnieBotChat` is no longer maintained and has been deprecated."
]
},
{
@@ -132,9 +131,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.11.4"
+ "version": "3.12.10"
}
},
"nbformat": 4,
- "nbformat_minor": 2
+ "nbformat_minor": 4
}