chore: refine acceptable uses of LLMs

This commit is contained in:
Mason Daugherty
2026-03-07 17:21:48 -05:00
parent c5666cf144
commit af8bb950af
+8 -4
View File
@@ -10,10 +10,14 @@ To learn how to contribute to LangChain projects (such as `langchain`, `langgrap
Generative AI can be a useful tool for contributors, but like any tool should be used with critical thinking and good judgement.
We encourage contributors to use AI tools efficiently where they help. However, AI assistance must be paired with meaningful human intervention, judgement, and contextual understanding. **If the human effort required to create a pull request is less than the effort required for maintainers to review it, that contribution should not be submitted.**
AI assistance must be paired with meaningful human intervention, judgement, and contextual understanding. **If the human effort required to create a pull request is less than the effort required for maintainers to review it, that contribution should not be submitted.**
We struggle when contributors' entire work (code changes, documentation updates, pull request descriptions) are LLM-generated. These drive-by contributions often mean well but miss the mark in terms of contextual relevance, accuracy, and quality. Mass automated contributions like these represent a denial-of-service attack on our human effort.
We struggle when contributors' entire work (code changes, documentation updates, pull request descriptions) are LLM-generated. These drive-by contributions often mean well but miss the mark in terms of contextual relevance, accuracy, and quality. Mass automated contributions represent a denial-of-service attack on our human effort.
**We will close pull requests and issues that appear to be low-effort, AI-generated spam.**
The following guidelines must be met for Pull Requests that include AI-generated content:
With great tools comes great responsibility.
* The Pull Request must fill in the repository's pull request template.
* The Pull Request must identify itself as AI generated, including the name of the agent used.
* The Pull Request must link to a issue or discussion where a solution has been approved by a maintainer.
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.**