diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8188901..4f38ab2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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.**