Skip to content

docs: GH pages #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lessons/01-intro-to-genai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ An elderly gentleman wearing a toga waves at you from the steps of the grand tem

**Dinocrates:** "Welcome, traveler," he says warmly. "I am Dinocrates, architect of this great city. Your arrival was foretold."

**You:** It was? I mean, of course, it was. I'm here to help, I think.
**You:** It was? I mean, of course, it was. I'm here to help, I think.

**Dinocrates:** Yes, as I was saying, you've been expected for some time now. We have a task that requires your unique skills.

Expand Down
10 changes: 5 additions & 5 deletions lessons/02-first-ai-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You manage to secure the boat at the dock and start walking along the wooden pla
As you walk, you notice a man with a long beard and a hat, digging through a crate of what looks like mechanical parts. His hands move deftly, sorting through gears and springs with practiced ease.


![Leonardo Da Vinci standing next to a crate in the harbour](/lessons/02-first-ai-app/assets/leonardo.png)
![Leonardo Da Vinci standing next to a crate in the harbour](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/leonardo.png)

### Help me, Leonardo

Expand Down Expand Up @@ -79,7 +79,7 @@ As you walk, you notice a man with a long beard and a hat, digging through a cra

### At the workshop

![Leonardos workshop](/lessons/02-first-ai-app/assets/leonardo-workshop.png)
![Leonardos workshop](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/leonardo-workshop.png)

The old man leads you to a large wooden door and you are greeted by the sight of a workshop filled with all sorts of mechanical contraptions.

Expand Down Expand Up @@ -120,7 +120,7 @@ If you want to interact with Leonardo, run the [Characters](/app/README.md) app.
> This is entirely fictional; the responses are generated by AI.
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)

![Leonardo talks](/lessons/02-first-ai-app/assets/leonardo-talk.jpeg)
![Leonardo talks](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/leonardo-talk.jpeg)

**Steps**:

Expand Down Expand Up @@ -403,7 +403,7 @@ This means the majority of tokens can be spent on the input tokens, i.e 128k - 1
I want you to generate recipes for me.
```

![Demo of tokenizer](/lessons/02-first-ai-app/assets/tokenizer.png)
![Demo of tokenizer](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/tokenizer.png)

Running `tokenizer` on the sentence above gives us 9 tokens.

Expand Down Expand Up @@ -455,7 +455,7 @@ Leonardo suddenly asked to inspect the Time Beetle closer, he looked at it from

**Time Beetle:** Nothing

![Aerial screw, Leonardo Da Vinci](/lessons/02-first-ai-app/assets/helicopter.jpg)
![Aerial screw, Leonardo Da Vinci](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/helicopter.jpg)

> [!NOTE]
> The aerial screw, also known as the helical air screw, was intended to lift off the ground by compressing air. Leonardo's design featured a large, spiral-shaped rotor made of linen, stiffened with starch, and mounted on a wooden platform. The idea was that a crew of men would run around the platform, turning cranks to rotate the screw rapidly enough to achieve lift
Expand Down
2 changes: 1 addition & 1 deletion lessons/02-first-ai-app/translations/README.bn.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ const completion = await openai.chat.completions.create({
I want you to generate recipes for me.
```

![টোকেনাইজার ডেমো](/lessons/02-first-ai-app/assets/tokenizer.png)
![টোকেনাইজার ডেমো](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/tokenizer.png)

উপরের বাক্যে **`tokenizer`** চালালে **৯টি টোকেন** পাওয়া যায়।

Expand Down
6 changes: 3 additions & 3 deletions lessons/03-prompt-engineering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ A swirl of colors envelops the carriage, the world around you dissolving into a

The swirl of colors fades, and you find yourself in the carriage, now racing down the Via Appia in Rome and to your astonishment, you're in the middle of a horse race. Chariots thunder past, their wheels kicking up clouds of dust.

![Escape from Rome](/lessons/03-prompt-engineering/assets/escape.png)
![Escape from Rome](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/03-prompt-engineering/assets/escape.png)

**You:** Leonardo, where are we?

Expand Down Expand Up @@ -100,7 +100,7 @@ With a final push, the aerial screw begins to spin. The blades catch the air, an

You look out over the city; the ancient buildings stretch out below you.

![Airborne, looks down at the city with feet dangling](/lessons/03-prompt-engineering/assets/airborne.png)
![Airborne, looks down at the city with feet dangling](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/03-prompt-engineering/assets/airborne.png)

## Interact with Sforza

Expand All @@ -110,7 +110,7 @@ If you want to interact with Sforza, run the [Characters](/app/README.md) app.
> This is entirely fictional; the responses are generated by AI.
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)

![Ludovico Sforza](/lessons/03-prompt-engineering/assets/ludovico.png)
![Ludovico Sforza](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/03-prompt-engineering/assets/ludovico.png)

**Steps**:

Expand Down
2 changes: 1 addition & 1 deletion lessons/05-rag/translations/README.bn.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ _এই ভিডিওটি **Retrieval-Augmented Generation (RAG)** ব্য

### **একটি RAG সিস্টেম কীভাবে কাজ করে?**

![RAG সিস্টেমের চিত্র](/lessons/05-rag/assets/rag.png)
![RAG সিস্টেমের চিত্র](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/rag.png)

**ধাপে ধাপে কাজ করার পদ্ধতি:**

Expand Down
8 changes: 4 additions & 4 deletions lessons/06-tool-calling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you haven't already, set up your development environment. Here's how you can

## Related Resources

[![Integrating with function calling](/lessons/06-tool-calling/assets/11-lesson-banner.png)](https://aka.ms/gen-ai-lesson11-gh?WT.mc_id=academic-105485-koreyst)
[![Integrating with function calling](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/06-tool-calling/assets/11-lesson-banner.png)](https://aka.ms/gen-ai-lesson11-gh?WT.mc_id=academic-105485-koreyst)

_This video explains Tool calling, a method that helps the AI call your functions and thereby expand what it can do_

Expand All @@ -41,7 +41,7 @@ You: "Who are we talking about and where can I find her?"

The world around you starts to blur, and everything fades to black. You come to and find yourself in the cockpit of a plane. You're airborne, and you can see the ocean below you. There's someone sitting in front; you can only see the back of their neck.

![Amelia piloting a plane](/lessons/06-tool-calling/assets/amelia.jpeg)
![Amelia piloting a plane](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/06-tool-calling/assets/amelia.jpeg)

**You**: "Amelia, is that you?"

Expand Down Expand Up @@ -69,7 +69,7 @@ If you want to interact with Ada, run the [Characters](/app/README.md) app.
> This is entirely fictional; the responses are generated by AI.
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)

![Ada Lovelace](/lessons/06-tool-calling/assets/amelia-front.jpeg)
![Ada Lovelace](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/06-tool-calling/assets/amelia-front.jpeg)

**Steps**:

Expand All @@ -92,7 +92,7 @@ For a more detailed explanation of the app, see [Detailed app explanation](/less

**Time Beetle**: "Here's an image to illustrate the process of tool calling:"

![Tool calling process illustration](/lessons/06-tool-calling/assets/tool_call_langchain.png)
![Tool calling process illustration](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/06-tool-calling/assets/tool_call_langchain.png)

_Image credit Langchain <https://python.langchain.com/docs/concepts/tool_calling/>_

Expand Down