Thank you for your interest in contributing to RAG_Ollama_Mac! This document provides guidelines for contributing to the project.
If you find a bug or have a suggestion for improvement:
- Check existing issues to avoid duplicates
- Create a new issue with a clear title and description
- Include details such as:
- Your operating system and Python version
- Steps to reproduce the issue
- Expected vs. actual behavior
- Screenshots if applicable
- Fork the repository to your GitHub account
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes following the code style guidelines below
- Test your changes thoroughly
- Commit your changes with clear, descriptive messages:
git commit -m "Add feature: description of your changes" - Push to your fork:
git push origin feature/your-feature-name
- Open a Pull Request with a clear description of your changes
- Follow PEP 8 style guide
- Use meaningful variable and function names
- Add docstrings for functions and classes
- Keep functions focused and modular
- Comment complex logic when necessary
- Keep related functionality together
- Maintain separation of concerns
- Avoid duplicating code
- Test your changes with different PDF documents
- Verify the chatbot responses are appropriate
- Check that document loading works correctly
- Ensure the UI displays properly
When adding new features:
- Update README.md if necessary
- Add comments to explain complex code
- Update CHANGELOG.md following the existing format
- Consider adding examples or usage instructions
We welcome contributions in these areas:
- Support for additional file formats (Markdown, .txt, HTML, DOCX)
- Additional LLM model configurations
- Chat history persistence
- Document management interface
- Enhanced search and retrieval options
- User settings and preferences
- Performance optimizations
- Better error handling
- Improved UI/UX
- Enhanced documentation
- Code refactoring
- Test coverage
- Tutorial videos or guides
- Use case examples
- Troubleshooting tips
- Translation to other languages
All submissions require review. We use GitHub pull requests for this purpose. The review process includes:
- Code quality and style check
- Functionality verification
- Documentation completeness
- Potential impact assessment
By contributing to RAG_Ollama_Mac, you agree that your contributions will be licensed under the MIT License.
Feel free to open an issue for any questions about contributing!
Your contributions help make RAG_Ollama_Mac better for everyone. We appreciate your time and effort!