Contributing to GenAI ๐¶
We're thrilled that you're interested in contributing to GenAI! Your contributions are essential for making GenAI better. Here are the guidelines to help you get started. ๐
Code of Conduct ๐¶
This project and everyone participating in it is governed by the GenAI Code of Conduct. By participating, you are expected to uphold this code. ๐ค
How to Contribute ๐ค¶
You can contribute in many ways:
Reporting Bugs ๐¶
Bugs are tracked as GitHub issues. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title for the issue to identify the problem. ๐ท๏ธ
- Describe the exact steps which reproduce the problem in as many details as possible. ๐
- Provide specific examples to demonstrate the steps. ๐
- Describe the behavior you observed after following the steps and why you find this behavior problematic. ๐ค
- Explain which behavior you expected to see instead and why. โจ
Suggesting Enhancements ๐ก¶
Enhancement suggestions are also tracked as GitHub issues. When suggesting an enhancement:
- Use a clear and descriptive title for the issue to identify the suggestion. ๐ท๏ธ
- Provide a step-by-step description of the suggested enhancement in as many details as possible. ๐
- Provide specific examples to demonstrate the steps or provide mock-ups. ๐
- Explain why this enhancement would be useful to GenAI users. ๐
Your First Code Contribution ๐ถ¶
Unsure where to begin contributing to GenAI? You can start by looking through the beginner
and help-wanted
issues:
- Beginner issues - issues which should only require a few lines of code, and a test or two. ๐ฑ
- Help wanted issues - issues which should be a bit more involved than beginner issues. ๐
Pull Requests ๐¶
- Fill in the required template. ๐
- Do not include issue numbers in the PR title. โ
- Include screenshots and animated GIFs in your pull request whenever possible. ๐ธ
- Follow the Python styleguides. ๐
- Include thoughtfully-worded, well-structured tests. Mock external services and cover all use cases. ๐งช
- Document new code based on the Documentation Styleguide. ๐
- End files with a newline. โฉ๏ธ
- Avoid platform-dependent code. ๐ป
Git Commit Messages ๐¶
- Use the present tense ("Add feature" not "Added feature"). โ
- Use the imperative mood ("Move cursor to..." not "Moves cursor to..."). ๐ฏ
- Limit the first line to 72 characters or less. ๐
- Reference issues and pull requests liberally after the first line. ๐
Pull Request Process ๐¶
- The pull request will be merged after review by a core team member. โ๏ธ
Community Guidelines and Code of Conduct ๐¶
We are committed to building a welcoming, inclusive, and respectful community. Here are some key points to remember:
- Be kind and courteous to everyone. ๐
- Respect differing viewpoints and experiences. ๐ค
- Give and gracefully accept constructive feedback. ๐
- Focus on what is best for the community. ๐
For a more detailed set of guidelines, please refer to our Code of Conduct, which outlines our expectations for participants, as well as the consequences for unacceptable behavior.
We hope these guidelines help make your experience a fruitful and enjoyable one.