Skip to content

Commit d1b32e0

Browse files
docs: fix grammar issues in tencent_hunyuan.ipynb and together.ipynb (#31438)
Thank you for contributing to LangChain! - [x] **PR title**: "package: description" - Where "package" is whichever of langchain, core, etc. is being modified. Use "docs: ..." for purely docs changes, "infra: ..." for CI changes. - Example: "core: add foobar LLM" - [x] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** a description of the change - **Issue:** the issue # it fixes, if applicable - **Dependencies:** any dependencies required for this change - **Twitter handle:** if your PR gets announced, and you'd like a mention, we'll gladly shout you out! - [x] **Add tests and docs**: If you're adding a new integration, please include 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/docs/integrations` directory. - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. If no one reviews your PR within a few days, please @-mention one of baskaryan, eyurtsev, ccurme, vbarda, hwchase17.
1 parent 079b97e commit d1b32e0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/docs/integrations/chat/tencent_hunyuan.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"> script creation, resume generation, article writing, code generation, data analysis, and content\n",
2323
"> analysis.\n",
2424
"\n",
25-
"See for [more information](https://cloud.tencent.com/document/product/1729)."
25+
"See [more information](https://cloud.tencent.com/document/product/1729) for more details."
2626
]
2727
},
2828
{
@@ -98,7 +98,7 @@
9898
}
9999
},
100100
"source": [
101-
"## For ChatHunyuan with Streaming"
101+
"## Using ChatHunyuan with Streaming"
102102
]
103103
},
104104
{

docs/docs/integrations/chat/together.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"# ChatTogether\n",
1919
"\n",
2020
"\n",
21-
"This page will help you get started with Together AI [chat models](../../concepts/chat_models.mdx). For detailed documentation of all ChatTogether features and configurations head to the [API reference](https://python.langchain.com/api_reference/together/chat_models/langchain_together.chat_models.ChatTogether.html).\n",
21+
"This page will help you get started with Together AI [chat models](../../concepts/chat_models.mdx). For detailed documentation of all ChatTogether features and configurations, head to the [API reference](https://python.langchain.com/api_reference/together/chat_models/langchain_together.chat_models.ChatTogether.html).\n",
2222
"\n",
2323
"[Together AI](https://www.together.ai/) offers an API to query [50+ leading open-source models](https://docs.together.ai/docs/chat-models)\n",
2424
"\n",
@@ -40,7 +40,7 @@
4040
"\n",
4141
"### Credentials\n",
4242
"\n",
43-
"Head to [this page](https://api.together.ai) to sign up to Together and generate an API key. Once you've done this set the TOGETHER_API_KEY environment variable:"
43+
"Head to [this page](https://api.together.ai) to sign up to Together and generate an API key. Once you've done this, set the TOGETHER_API_KEY environment variable:"
4444
]
4545
},
4646
{
@@ -81,7 +81,7 @@
8181
"source": [
8282
"### Installation\n",
8383
"\n",
84-
"The LangChain Together integration lives in the `langchain-together` package:"
84+
"The LangChain Together integration is included in the `langchain-together` package:"
8585
]
8686
},
8787
{
@@ -187,7 +187,7 @@
187187
"source": [
188188
"## Chaining\n",
189189
"\n",
190-
"We can [chain](../../how_to/sequence.ipynb) our model with a prompt template like so:"
190+
"We can [chain](../../how_to/sequence.ipynb) our model with a prompt template as follows:"
191191
]
192192
},
193193
{
@@ -237,7 +237,7 @@
237237
"source": [
238238
"## API reference\n",
239239
"\n",
240-
"For detailed documentation of all ChatTogether features and configurations head to the API reference: https://python.langchain.com/api_reference/together/chat_models/langchain_together.chat_models.ChatTogether.html"
240+
"For detailed documentation of all ChatTogether features and configurations, head to the API reference: https://python.langchain.com/api_reference/together/chat_models/langchain_together.chat_models.ChatTogether.html"
241241
]
242242
}
243243
],

0 commit comments

Comments
 (0)