From 4d1d726e61ed58b39278903262d19bbe9f010772 Mon Sep 17 00:00:00 2001 From: pudongair <744355276@qq.com> Date: Wed, 19 Mar 2025 21:26:07 +0800 Subject: [PATCH] docs: fix some typos (#30367) Thank you for contributing to LangChain! - [x] **PR title**: "package: description" - Where "package" is whichever of langchain, community, core, etc. is being modified. Use "docs: ..." for purely docs changes, "infra: ..." for CI changes. - Example: "community: 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! - [ ] **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. - [ ] **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 you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, eyurtsev, ccurme, vbarda, hwchase17. --------- Signed-off-by: pudongair <744355276@qq.com> Co-authored-by: Chester Curme --- docs/docs/contributing/how_to/integrations/package.mdx | 4 ++-- docs/docs/integrations/providers/langchain_decorators.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/contributing/how_to/integrations/package.mdx b/docs/docs/contributing/how_to/integrations/package.mdx index e824a0ffa26..570363ec323 100644 --- a/docs/docs/contributing/how_to/integrations/package.mdx +++ b/docs/docs/contributing/how_to/integrations/package.mdx @@ -35,7 +35,7 @@ from a template, which can be edited to implement your LangChain components. - [GitHub](https://github.com) account - [PyPi](https://pypi.org/) account -### Boostrapping a new Python package with langchain-cli +### Bootstrapping a new Python package with langchain-cli First, install `langchain-cli` and `poetry`: @@ -104,7 +104,7 @@ dependency management and packaging, and you're welcome to use any other tools y - [GitHub](https://github.com) account - [PyPi](https://pypi.org/) account -### Boostrapping a new Python package with Poetry +### Bootstrapping a new Python package with Poetry First, install Poetry: diff --git a/docs/docs/integrations/providers/langchain_decorators.mdx b/docs/docs/integrations/providers/langchain_decorators.mdx index d719f90b298..1d51f06735b 100644 --- a/docs/docs/integrations/providers/langchain_decorators.mdx +++ b/docs/docs/integrations/providers/langchain_decorators.mdx @@ -171,7 +171,7 @@ print(result) # Prompt declarations -By default the prompt is is the whole function docs, unless you mark your prompt +By default the prompt is the whole function docs, unless you mark your prompt ## Documenting your prompt