Thank you for considering contributing to Kaapi! We welcome contributions of all kinds, including bug reports, feature requests, documentation improvements, and code contributions.
To contribute successfully, you must first set up the project on your local machine. Please follow the instructions outlined in the project's README to configure the repository and begin your contributions.
Before you proceed, make sure to check the repository's README for a comprehensive overview of the project's backend and detailed setup guidelines.
- Click the Fork button on the top right of this repository.
- Clone your forked repository:
git clone https://github.com/{username}/kaapi-backend.git
cd kaapi-backend
Before you start working on a contribution:
- Check if an issue exists for the bug or feature you want to work on in the Issues section.
- If no issue exists, create one first using the templates present:
- For bugs: Use the bug report template
- For enhancements: Use the enhancement request template
- For features: Create a feature request issue
• Always work in a new branch based on main.
• For branch name, follow this convention: type/one-line-description
e.g. enhancement/support-openai-citation-new-format
Type can be:
- enhancement
- bugfix
- feature
git checkout -b type/one-line-description
- Adhere to the project's established coding style for consistency.
- Make sure the code adheres to best practices.
- If you've resolved a bug or implemented a new feature, make sure to include appropriate test cases and confirm they pass successfully. Execute tests before committing your changes.
bash ./scripts/test.sh
Before submitting a pull request, please ensure that you ran the application using:
fastapi run --reload app/main.py
and verify that everything functions as expected.
Use descriptive commit messages:
git commit -m "one liner for the commit"
• For PR name, follow this convention:
Module Name: One liner of changes
• Don't forget to link the PR to the issue.
• Push your changes to GitHub:
git push origin Module Name: One liner of changes
We will be looking forward to your contributions!