mirror of
https://github.com/duckdb/duckdb.git
synced 2026-10-28 08:46:33 +08:00
48 lines
2.2 KiB
Markdown
48 lines
2.2 KiB
Markdown
# AI Policy
|
|
|
|
Using AI (i.e., LLMs) as tools for coding is welcome.
|
|
|
|
## AI Contributions
|
|
|
|
A high bar is held for all contributions to this project.
|
|
Moreover, the project maintainers remain responsible for any code that is published as part of a release.
|
|
Contributors are expected to be responsible for any code they publish.
|
|
|
|
## Communication
|
|
|
|
**AI should not be used to generate comments when communicating with maintainers and contributors**.
|
|
Comments are expected to be written by humans.
|
|
Comments that are believed to be written by AI may be hidden/closed without notice.
|
|
|
|
If you are opening an issue, you should be able to describe the problem in your own words.
|
|
|
|
## Pull Requests
|
|
|
|
If you are opening a pull request, you are expected to be able to explain the proposed changes in your own words.
|
|
This includes the pull request body and responses to questions.
|
|
**Do not copy responses from the AI when replying to questions from maintainers.**
|
|
|
|
This project requires a human in the loop who understands the work produced by AI.
|
|
**Autonomous agents are not allowed to be used for contributing to this project**.
|
|
Pull requests that appear in violation of this will be closed, perhaps without notice.
|
|
|
|
## Citing an LLM
|
|
|
|
If you wish to include context from an interaction with AI in your comments, it must be in a quote block (e.g., using `>`) and disclosed as such.
|
|
It must be accompanied by human commentary explaining the relevance and implications of the context.
|
|
|
|
Do not share long snippets: pasting an interaction with AI in a pull request description is not a substitute for human commentary.
|
|
|
|
## AI Translation
|
|
|
|
AI is useful when communicating as a non-native English speaker.
|
|
If you are using AI to edit your comments for this purpose, please take the time to ensure it reflects your own voice and ideas.
|
|
If using AI for translation, we recommend writing in your native language and including the AI translation in a quote block.
|
|
|
|
## References
|
|
|
|
This policy was adapted from [ripgrep's AI policy], which was adapted from [uv's AI policy].
|
|
|
|
[ripgrep's AI policy]: https://github.com/BurntSushi/ripgrep/blob/master/AI_POLICY.md
|
|
|
|
[uv's AI policy]: https://github.com/astral-sh/.github/blob/c5187e200db51bfe11d56e13053d29bd3793fdd8/AI_POLICY.md |