A repository for learning and experimenting with Generative AI concepts and applications.
- Python 3.8 or higher
- Git
- A compatible operating system (Windows/Linux/macOS)
- Clone the repository:
git clone https://github.com/nipaul/learn-genai.git
cd learn-genai- Set up the virtual environment:
Windows (PowerShell):
python -m venv venv
.\venv\Scripts\Activate.ps1Linux/macOS:
python3 -m venv venv
source venv/bin/activate- Install dependencies (when added):
pip install -r requirements.txtlearn-genai/
├── venv/ # Virtual environment (not in git)
└── lessons # lessons notebooks folder
└── lesson_n # lesson notebook
├── .gitignore # Git ignore rules
└── README.md # Project documentation
We welcome contributions! Here's how you can help:
-
Fork the Repository
- Click the 'Fork' button at the top right of this page
- Clone your fork locally
-
Create a Branch
git checkout -b feature/your-feature-name # or git checkout -b fix/your-fix-name -
Make Your Changes
- Write clean, documented code
- Follow PEP 8 style guidelines for Python code
- Add tests if applicable
- Update documentation as needed
-
Test Your Changes
- Ensure all tests pass
- Verify your changes work as expected
-
Commit Your Changes
git add . git commit -m "Brief description of your changes"
-
Push to Your Fork
git push origin feature/your-feature-name
-
Submit a Pull Request
- Go to the Pull requests page
- Click 'New Pull Request'
- Select your fork and branch
- Add a clear title and description
- Submit the pull request
If you find a bug or have a suggestion for improvement:
-
First, check if the issue already exists in the Issues section
-
If not, create a new issue:
- Click 'New Issue'
- Use a clear, descriptive title
- Provide detailed information:
- Steps to reproduce (for bugs)
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- System information (OS, Python version, etc.)
- Any relevant code snippets
-
Add appropriate labels to your issue
-
Be responsive to any follow-up questions
-
Ensure you have activated the virtual environment (see Getting Started)
-
Install development dependencies (when added):
pip install -r requirements-dev.txt
-
Set up pre-commit hooks (if implemented):
pre-commit install
- Follow PEP 8 for Python code
- Use meaningful variable and function names
- Add docstrings to functions and classes
- Comment complex logic
- Keep functions focused and concise
This project is licensed under the MIT License - see the LICENSE file for details.
For additional questions or concerns, please open an issue in the repository.
Project maintained by @nipaul