Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

microsoft/generative-ai-with-javascript

 
 

Repository files navigation

Generative AI with JavaScript

LicenseOpen project in GitHub CodespacesWatch the video seriesGitHub contributorsGitHub issuesGitHub pull-requestsPRs Welcome

GitHub watchersGitHub forksGitHub stars

Azure AI Discord

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

Getting StartedLessonsKeep LearningOther Courses

This course aims to take you through a series of 5 lessons so that you can integrate Generative AI in your JavaScript apps.

To make it a fun learning experience, we've added a narrative to each lesson. It's atime travelling adventure where you will encounter famous characters throughout history! ✨

Important

All the content in this repository is open-source, so feel free toreuse it, adapt it to make it your own, and share it with others!

🌱 Getting Started

Along 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 theFork button in the upper right-hand corner of the repository or select this button:Fork

  2. On your forked repository, select theCode button, then theCodespaces tab, thenCreate codespace. This will create a preconfigured online environment for you. You'll then be able to useGitHub Models to run the code examples and interact with LLMs for free, without any additional setup.

Using your local environment

If you prefer working in your local environment, first you need to install the following tools:

Then after forking the repository, you can clone it to your local machine:

  1. On your forked repository, select theCode button, then theLocal tab, and copy the URL of your forked repository.
  2. Open a terminal and run this command to clone the repo:git clone <your-repo-url>
  3. Open the cloned repository in Visual Studio Code.

📦 Each Lesson Includes

  • Awritten lesson with an assignment and quiz.
  • A shortvideo, to help further your learning.
  • Solution for assignment and quiz.
  • Character app: running this app demonstrates Generative AI and gives you a chance to have conversation with a historical figure.

🗃️ Lessons

#Lesson LinkDescription
1Introduction to Generative AI and LLMs for JavaScript DevelopersUnderstand Generative AI and LLM fundamentals, their applications and limits in JavaScript, and how to use AI to enhance user experiences.
2Build your first AI appSet up your development environment, write a basic app, and understand system prompts.
3Prompt engineeringLearn Ppompt engineering fundamentals, techniques, and meta-prompts for better AI outcomes.
4Structured outputLearn structured output, how to extract data from prompts, and present it in various formats (like JSON) for easier consumption.
5Retrieval augmented generation (RAG)Learn the basics of RAG, how to integrate external data, and how to leverage it for more relevant, accurate AI responses.

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

🙌 Keep Learning

After completing this course, you can continue learning by exploring thevideo series and its related content.

You'll also find additional resources in the form of tutorials, code samples and open community here:Additional Resources

🎒 Other Courses

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp