generative-ai-for-beginners

(โ˜… 118,262)

21 Lessons, Get Started Building with Generative AI

Showing a partial file list โ€” download the zip above to see everything.

  • .env.copy
  • .eslintrc.json
  • .gitignore
  • .nojekyll
  • .prettierrc
  • .python-version
  • _gen_lesson09_images.py
  • AGENTS.md
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • docsifytopdf.js
  • index.html
  • LICENSE
  • package-lock.json
  • package.json
  • pyproject.toml
  • README.md
  • requirements.txt
  • SECURITY.md

๐Ÿš€ Installation Guide

1. Get the code
git clone https://github.com/microsoft/generative-ai-for-beginners

Downloads the entire project code from GitHub to your computer.

cd generative-ai-for-beginners

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
cd 06-text-generation-apps/js-githubmodels

This project's files live in a subfolder, so move into it first.

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r 06-text-generation-apps/python/requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

jupyter notebook

Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.

โœ… If it runs without errors and prints output in the terminal, it worked.
// repository documentation