Skip to content

Commit 9be1215

Browse files
authored
oss(contributing): surface LLM policy on PR pages, add language policy (#2986)
1 parent 78aac00 commit 9be1215

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

src/oss/contributing/code.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,10 @@ Once your tests pass and code meets quality standards:
854854
3. Reference related issues using a [closing keyword](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) (e.g., `Fixes #123`)
855855
4. Wait for CI checks to complete
856856

857+
<Note>
858+
If your PR includes AI-generated content, you must follow our [acceptable uses of LLMs](/oss/contributing/overview#acceptable-uses-of-llms) policy. PRs that appear to be low-effort, AI-generated spam will be closed without comment.
859+
</Note>
860+
857861
<Warning>
858862
Address CI failures promptly. Maintainers may close PRs that do not pass CI within a reasonable timeframe.
859863
</Warning>

src/oss/contributing/documentation.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ If you are having issues with you local preview, try running `mint update` to en
6363
1. Run [quality checks](#run-quality-checks) before submitting.
6464
1. Create a pull request for review.
6565

66+
<Note>
67+
If your PR includes AI-generated content, you must follow our [acceptable uses of LLMs](/oss/contributing/overview#acceptable-uses-of-llms) policy.
68+
</Note>
69+
6670
<Accordion title="Create a sharable preview build (LangChain team only)">
6771
When you create or update a PR, a [preview branch/ID](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) is automatically generated. A comment will be left on the PR with the ID.
6872

src/oss/contributing/overview.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,9 @@ The following guidelines must be met for Pull Requests that include AI-generated
129129
* The Pull Request must link to a issue or discussion where a solution has been approved by a maintainer.
130130

131131
The maintainer reserves the right to close PRs without comment if the above are not met. **We will close pull requests and issues that appear to be low-effort, AI-generated spam.**
132+
133+
## Language policy
134+
135+
All contributions — issues, pull requests, code reviews, and discussions — must be in English. This keeps communications accessible and searchable across our global contributor base.
136+
137+
If English isn't your first language, don't worry. We value clear communication over perfect grammar, and translation tools are welcome.

src/oss/contributing/publish-langchain.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Make a fork of the [LangChain docs repository](https://github.com/langchain-ai/d
102102

103103
Please be patient as we handle a large volume of PRs. We will review your PR as soon as possible and provide feedback or merge it. **Do not repeatedly tag maintainers about your PR.**
104104

105+
<Note>
106+
If your PR includes AI-generated content, you must follow our [acceptable uses of LLMs](/oss/contributing/overview#acceptable-uses-of-llms) policy.
107+
</Note>
108+
105109
---
106110

107111
## Next steps

0 commit comments

Comments
 (0)