Generative AI For Beginners With JavaScript ⭐

Generative AI for beginners with JavaScript

Join a time-traveling adventure where you meet history’s legends while learning Generative AI technologies! :sparkles:

License Watch the video series PRs Welcome

Azure AI Discord

:star: If you like this repo, star it on GitHub — it helps a lot!

Getting StartedLessonsKeep Learning

Ready to integrate Generative AI into your JavaScript apps?

This course throws you into a time-traveling adventure—meet history’s legends with a fun twist, while learning Generative AI technologies :sparkles:

Important

Open-source vibes! Reuse, tweak, and share this content freely.

Character App Sneak Peek

Call for help - help us translate !

Help us translate this course. Each lesson in lessons/ folder has a translations/ directory. Add your translation file like so README.<language code>.md, for example README.es.md. - Thank You.

Step into history with AI magic!

Dive into an immersive learning experience powered by Generative AI:

  • Learn about Generative AI technologies. If you’ve wanted to understand Generative AI and the potential for your applications, you’re in the right place!
  • Epic Time-Travel Stories. Dive into a fun tale, chatting with icons like Leonardo da Vinci, Ada Lovelace, or Montezuma in every lesson.
  • Companion App. Interact with historical figures using Generative AI technologies (see our Responsible AI disclaimer).Interact with History through conversationCheck the app directory to run the app locally or use GitHub Codespaces to run it online.
  • Accessibility FTW. Read it, hear it—audio tags bring it to life.

“It’s like a comic book with code!” — Happy User

Getting started

Throughout this course you’ll find many code examples and exercises, so we encourage you to run and experiment with the code in your own copy of this repository:

  1. Select the Fork button in the upper right-hand corner of the repository or select this button: Fork
  2. Click the Code button in your forked repository, go to the Codespaces tab, and then choose Create codespace.This will create a preconfigured online environment for you. You’ll then be able to use GitHub Models to run the code examples and interact with AI models for free, without any additional setup.

Note

While GitHub Codespaces provides a quick and easy starting point you can also run the code samples locally.

Learn more about GitHub Codespaces and GitHub Models concepts here.

Lesson description

:package: Each lesson includes:

  • A written lesson with an assignment and quiz.
  • A short video to help further your learning.
  • Solutions for each assignment and quiz.
  • Characters you can interact with using our companion app, demonstrating Generative AI.

Lessons

:card_file_box: Table of contents

# Lesson Link Description
1 Introduction to Generative AI and LLMs for JavaScript Developers Understand Generative AI and LLM fundamentals, their applications and limits in JavaScript, and how to use AI to enhance user experiences.
2 Build your first AI app Set up your development environment, write a basic app, and understand system prompts.
3 Prompt engineering Learn Prompt engineering fundamentals, techniques, and meta-prompts for better AI outcomes.
4 Structured output Learn structured output, how to extract data from prompts, and present it in various formats, such as JSON, for easier consumption.
5 Retrieval augmented generation (RAG) Learn the basics of RAG, how to integrate external data, and how to leverage it for more relevant, accurate AI responses.
6 Additional chapters are coming soon!

New lessons will be added to the course over time, so stay tuned!

Keep learning

:raising_hands: After completing this course, you can continue learning by exploring our additional resources.

:clapper_board:Video Series

:backpack: Other Courses

You’ll also find additional resources in the form of tutorials, code samples and more.

Responsible AI Disclaimer

Important

DISCLAIMER: This repository contains fictional content generated by AI. The historical characters depicted here are generating responses thanks to generative AI, which is based on training data. Any responses generated by these characters do not represent their actual views or quotes. This content is intended solely for entertainment purposes. Microsoft Responsible AI principles here

Interact with community

Azure AI Discord

Source: Microsoft.Git

ENJOY & HAPPY LEARNING! :heart:

8 Likes