Skip to content

Commit dbcab60

Browse files
authored
docs: docsify adjustments (#137)
* Update README.md * added prefix to make docsify behave
1 parent 99c5f90 commit dbcab60

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed

lessons/01-intro-to-genai/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lesson 1: Introduction to Generative AI and LLMs for JavaScript Developers
1+
# Lesson 1: Introduction to Generative AI and LLMs for JavaScript Developers
22

33
In this chapter you will learn:
44

@@ -73,7 +73,7 @@ It's dark and gloomy inside, the only light filtering through the grimy windows,
7373

7474
As your eyes adjust to the dim light, you notice a figure in the distance, waving at you. You walk towards him, your footsteps echoing on the wooden floor. The figure becomes clearer, and you recognize him from newspaper photos, it's Charles Babbage.
7575

76-
![Dusty Library](/lessons/01-intro-to-genai/assets/library.png)
76+
![Dusty Library](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/library.png)
7777

7878
### What's This Device?
7979

@@ -87,15 +87,15 @@ Compelled by curiosity, your fingers drift toward the red button. The moment you
8787

8888
Then, blackness, and a sense of falling.
8989

90-
![Time Vortex](/lessons/01-intro-to-genai/assets/vortex.png)
90+
![Time Vortex](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/vortex.png)
9191

9292
### Alexandria 300 BC
9393

9494
You awaken, disoriented. As your vision clears, an ancient city unfolds before you—bustling, vibrant, and alive.
9595

9696
People in togas move through the streets, their voices blending into a symphony of ancient dialects, air filled with the scent of exotic spices and the distant sound of merchants hawking their wares.
9797

98-
![Alexandria 300 BC](/lessons/01-intro-to-genai/assets/alexandria.png)
98+
![Alexandria 300 BC](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/alexandria.png)
9999

100100
**You:** Surely, I must have hit my head, you think, closing your eyes and opening them again, scene remains unchanged.
101101

@@ -105,7 +105,7 @@ Am I stuck in the past? Do I dare press that button again? Before you can decide
105105

106106
An elderly gentleman wearing a toga waves at you from the steps of the grand temple. His white hair and beard catch the sunlight, giving him an almost ethereal glow.
107107

108-
![Dinocrates wearing a toga](/lessons/01-intro-to-genai/assets/dinocrates.png)
108+
![Dinocrates wearing a toga](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/dinocrates.png)
109109

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

@@ -135,7 +135,7 @@ A thought strikes you. Can the device understand me if I speak to it?
135135

136136
**You:** You're right, George is a good name, it was my father's name in fact.
137137

138-
![Time Beetle](/lessons/01-intro-to-genai/assets/time-beetle.png)
138+
![Time Beetle](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/time-beetle.png)
139139

140140
_Time device, “George” the metallic beetle_
141141

@@ -154,7 +154,7 @@ If you want to interact with Dinocrates, run the [Characters](/app/README.md) ap
154154
> This is entirely fictional; the responses are generated by AI.
155155
> [Responsible AI disclaimer](../../README.md#responsible-ai-disclaimer)
156156
157-
![Dinocrates wearing a toga](/lessons/01-intro-to-genai/assets/dinocrates.png)
157+
![Dinocrates wearing a toga](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/01-intro-to-genai/assets/dinocrates.png)
158158

159159
**Steps**:
160160

lessons/02-first-ai-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ When you open your eyes, the world has shifted. As you manage to get up, you rea
4242
Looking around the boat, you find a long oar resting against the side. Grasping it, you begin to row towards the distant buildings. As you get closer, the buildings come into sharper focus, they are old, their architecture reminiscent of a Renaissance painting.
4343

4444

45-
!["Boat on the river, man standing with a paddle](/lessons/02-first-ai-app/assets/boat.png)
45+
!["Boat on the river, man standing with a paddle](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/02-first-ai-app/assets/boat.png)
4646

4747
The question now is, where and when are you this time?
4848

lessons/03-prompt-engineering/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _This video offers an introduction to improving your "prompting" skills, teachin
3434

3535
Before you manage to press the button, the workshop doors slam open with a thunderous bang. A man stands in the doorway, broad-shouldered and dressed in expensive clothes, he waves a piece of paper in the air, yelling:
3636

37-
!["An angry Ludovico Sforza busting in through the door](/lessons/03-prompt-engineering/assets/ludovico.png)
37+
!["An angry Ludovico Sforza busting in through the door](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/03-prompt-engineering/assets/ludovico.png)
3838

3939
*Ludovico Sforza*
4040

lessons/04-structured-output/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The bright light from the Time Beetle fades, and you find yourself standing at t
4646

4747
The aerial screw, rests awkwardly on a large, intricately carved stone, with markings that look like a calendar
4848

49-
![Aztec calendar, Wikipedia](/lessons/04-structured-output/assets/aztec.png)
49+
![Aztec calendar, Wikipedia](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/04-structured-output/assets/aztec.png)
5050

5151
_Aztec calendar, Wikipedia_
5252

@@ -56,7 +56,7 @@ Leonardo da Vinci steps forward, his eyes wide with wonder.
5656

5757
Before you can react, a group of Aztec soldiers approaches.
5858

59-
![Meeting with Aztecs](/lessons/04-structured-output/assets/meeting.png)
59+
![Meeting with Aztecs](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/04-structured-output/assets/meeting.png)
6060

6161
**Soldier leader:** "Who are you, and what have you done?" he demands in Nahuatl.
6262

@@ -78,7 +78,7 @@ Upon reaching the top of the pyramid, you are led into a grand chamber where Mon
7878

7979
**Montezuma:** "Very well. I propose a game of [Patolli](#patolli). If I win the best of three games, you will give me your device and tell me how it works. If you win, you are free to go."
8080

81-
![Playing a game of Patolli](/lessons/04-structured-output/assets/game.png)
81+
![Playing a game of Patolli](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/04-structured-output/assets/game.png)
8282

8383
The game begins, and the room falls silent, save for the sound of beans being rolled and pieces moving across the board.
8484

@@ -108,7 +108,7 @@ With a final, decisive move, Leonardo wins the game. The room erupts in cheers a
108108
>
109109
> **Aztec Involvement**: Widely played by nobles and commoners, it was a favorite at Montezuma’s court. Beyond fun, it involved high-stakes gambling with bets like blankets, precious stones, or even freedom.
110110
111-
![Patolli board](/lessons/04-structured-output/assets/patolli.png)
111+
![Patolli board](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/04-structured-output/assets/patolli.png)
112112

113113
_Patolli - Wikipedia_
114114

@@ -120,7 +120,7 @@ If you want to interact with Montezuma, run the [Characters](/app/README.md) app
120120
> This is entirely fictional; the responses are generated by AI.
121121
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
122122
123-
![Montezuma](/lessons/04-structured-output/assets/montezuma.jpeg)
123+
![Montezuma](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/04-structured-output/assets/montezuma.jpeg)
124124

125125
**Steps**:
126126

lessons/05-rag/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ _This video explains Retrieval Augmented Generation (RAG), a method that helps t
3636

3737
You land in the garden, it's late at night with a thick fog and eerie lights are flickering in the distance. The mansion looms before you. Leonardo looks around, his eyes wide with wonder.
3838

39-
![Old mansion shown in a deep fog](/lessons/05-rag/assets/mansion.jpeg)
39+
![Old mansion shown in a deep fog](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/mansion.jpeg)
4040

4141

4242
### Running from the Dogs
4343

4444
You hear barking and the sound of dogs running towards you. You turn to Leonardo, "We need to get inside, now!"
4545

46-
![Running from the dogs](/lessons/05-rag/assets/dogs.jpeg)
46+
![Running from the dogs](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/dogs.jpeg)
4747

4848
As you reach the mansion's door it swings open and a pair of attendants hurry out. After sizing you up, they motion for you to follow them.
4949

@@ -59,7 +59,7 @@ You come face to face with Ada Lovelace, her eyes gleaming with curiosity.
5959

6060
**You:** But..
6161

62-
![Ada Lovelace and Charles Babbage working on a device](/lessons/05-rag/assets/ada.jpeg)
62+
![Ada Lovelace and Charles Babbage working on a device](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/ada.jpeg)
6363

6464
Charles Babbage steps forward, examining the Time Beetle in your hand. "This device is remarkable, but it's a bit faulty, isn't it? You've noticed, I'm sure."
6565

@@ -79,7 +79,7 @@ If you want to interact with Ada, run the [Characters](/app/README.md) app.
7979
> This is entirely fictional; the responses are generated by AI.
8080
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
8181
82-
![Ada Lovelace](/lessons/05-rag/assets/ada-2.jpeg)
82+
![Ada Lovelace](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/ada-2.jpeg)
8383

8484
**Steps**:
8585

@@ -124,7 +124,7 @@ At its core, RAG involves two main components: a **retriever** and a **generator
124124

125125
Here's a schema illustrating how a RAG system works:
126126

127-
![Schema of a RAG system](/lessons/05-rag/assets/rag.png)
127+
![Schema of a RAG system](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/05-rag/assets/rag.png)
128128

129129
1. **User input:** The user asks a question.
130130
2. **Retriever:** The retriever component searches for relevant information using one or more knowledge bases.

lessons/07-mcp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ _Our heroes, having just learned about tools and "tool-calling" during their mee
4646

4747
The swirling of light envelops you again and you find yourself in a large room with a large table in the middle. The walls are adorned with maps and military strategies. Scipio Africanus is standing at the table, deep in thought. He looks up as you enter. "Ada te misit/Ada sent you?"
4848

49-
![Scipio Africanus](/lessons/07-mcp/assets/scipio.png)
49+
![Scipio Africanus](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/07-mcp/assets/scipio.png)
5050

5151
> Scipio Africanus, also known as Publius Cornelius Scipio Africanus, was a prominent Roman general and statesman who lived from 236 BC to 183 BC. He is best known for his decisive role in the Second Punic War against Carthage and his victory over Hannibal at the Battle of Zama in 202 BC.
5252
> His life and career exemplify the qualities of leadership, strategic brilliance, and resilience. His contributions to Rome's military and political spheres left a lasting impact on the Roman Empire.
@@ -59,7 +59,7 @@ If you want to interact with Scipio, run the [Characters](/app/README.md) app.
5959
> This is entirely fictional; the responses are generated by AI.
6060
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
6161
62-
![Scipio Africanus](/lessons/07-mcp/assets/scipio.png)
62+
![Scipio Africanus](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/07-mcp/assets/scipio.png)
6363

6464
**Steps**:
6565

lessons/08-mcp-advanced/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You once again traveled back to Ada's mansion. This time Ada was meeting you at
4545

4646
Everything fades to black. Swirling colors rush past, and moments later, your vision begins to focus. You see a man sitting by a piano, animatedly talking with a woman who has dark brown and curly hair. Both are gesticulating excitedly as they speak.
4747

48-
![Hedy Lamarr](/lessons/08-mcp-advanced/assets/hedy-invention.jpeg)
48+
![Hedy Lamarr](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/08-mcp-advanced/assets/hedy-invention.jpeg)
4949

5050
The woman turned around to face Ada standing next to you to exclaim "Ada it's you, it's been far too long".
5151

@@ -86,7 +86,7 @@ If you want to interact with Hedy, run the [Characters](/app/README.md) app.
8686
> This is entirely fictional; the responses are generated by AI.
8787
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
8888
89-
![Hedy Lamarr](/lessons/08-mcp-advanced/assets/hedylamarr.jpeg)
89+
![Hedy Lamarr](https://raw.githubusercontent.com/microsoft/generative-ai-with-javascript/main/lessons/08-mcp-advanced/assets/hedylamarr.jpeg)
9090

9191
**Steps**:
9292

0 commit comments

Comments
 (0)