Skip to content

Commit af245ee

Browse files
authored
docs: Update image links to make it work with GH pages (#136)
* docs: Update image links to make it work with GH pages * fixing image tags for GH page * Apply suggestions from code review
1 parent 8e926c8 commit af245ee

File tree

8 files changed

+35
-96
lines changed

8 files changed

+35
-96
lines changed

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

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ In the heart of 1860s London, you are recognized as one of the most skilled mech
4242

4343
Your workbench, the heart of your workshop, is an organized mess.
4444

45-
<div>
46-
<img src="/lessons/01-intro-to-genai/assets/london.png" alt="London Workshop"width=300 >
47-
</div>
45+
![London Workshop](/lessons/01-intro-to-genai/assets/london.png)
4846

4947
_At the center of the bench lies the torso of a robot—an engineering marvel that has consumed months of effort. Its wooden frame is intricately carved, each joint meticulously designed for smooth movement._
5048

@@ -74,9 +72,7 @@ It's dark and gloomy inside, the only light filtering through the grimy windows,
7472

7573
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.
7674

77-
<div>
78-
<img src="/lessons/01-intro-to-genai/assets/library.png" alt="Dusty Library" width="300">
79-
</div>
75+
![Dusty Library](/lessons/01-intro-to-genai/assets/library.png)
8076

8177
### What's This Device?
8278

@@ -90,19 +86,15 @@ Compelled by curiosity, your fingers drift toward the red button. The moment you
9086

9187
Then, blackness, and a sense of falling.
9288

93-
<div>
94-
<img src="/lessons/01-intro-to-genai/assets/vortex.png" alt="Time Vortex" width="300">
95-
</div>
89+
![Time Vortex](/lessons/01-intro-to-genai/assets/vortex.png)
9690

9791
### Alexandria 300 BC
9892

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

10195
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.
10296

103-
<div>
104-
<img src="/lessons/01-intro-to-genai/assets/alexandria.png" alt="Alexandria 300 BC" width="300">
105-
</div>
97+
![Alexandria 300 BC](/lessons/01-intro-to-genai/assets/alexandria.png)
10698

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

@@ -112,9 +104,7 @@ Am I stuck in the past? Do I dare press that button again? Before you can decide
112104

113105
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.
114106

115-
<div>
116-
<img src="/lessons/01-intro-to-genai/assets/dinocrates.png" alt="Dinocrates wearing a toga" width="300">
117-
</div>
107+
![Dinocrates wearing a toga](/lessons/01-intro-to-genai/assets/dinocrates.png)
118108

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

@@ -144,9 +134,7 @@ A thought strikes you. Can the device understand me if I speak to it?
144134

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

147-
<div>
148-
<img src="/lessons/01-intro-to-genai/assets/time-beetle.png" alt="Time travel device resembling a metallic beetle" width="300">
149-
</div>
137+
![Time Beetle](/lessons/01-intro-to-genai/assets/time-beetle.png)
150138

151139
_Time device, “George” the metallic beetle_
152140

@@ -165,9 +153,7 @@ If you want to interact with Dinocrates, run the [Characters](/app/README.md) ap
165153
> This is entirely fictional; the responses are generated by AI.
166154
> [Responsible AI disclaimer](../../README.md#responsible-ai-disclaimer)
167155
168-
<div>
169-
<img src="/lessons/01-intro-to-genai/assets/dinocrates.png" alt="Dinocrates wearing a toga" width="300">
170-
</div>
156+
![Dinocrates wearing a toga](/lessons/01-intro-to-genai/assets/dinocrates.png)
171157

172158
**Steps**:
173159

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

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,17 @@ When you open your eyes, the world has shifted. As you manage to get up, you rea
4141

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

44-
<div>
45-
<img src="/lessons/02-first-ai-app/assets/boat.png" alt="Boat on the rive, man standing with a paddle" width=300" >
46-
</div>
44+
45+
!["Boat on the river, man standing with a paddle](/lessons/02-first-ai-app/assets/boat.png)
4746

4847
The question now is, where and when are you this time?
4948

5049
You manage to secure the boat at the dock and start walking along the wooden planks, the sound of your footsteps echoing softly.
5150

5251
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.
5352

54-
<div >
55-
<img src="/lessons/02-first-ai-app/assets/leonardo.png" alt="Leonardo Da Vinci standing next to a crate in the harbour" width="300" >
56-
</div>
53+
54+
![Leonardo Da Vinci standing next to a crate in the harbour](/lessons/02-first-ai-app/assets/leonardo.png)
5755

5856
### Help me, Leonardo
5957

@@ -81,9 +79,7 @@ As you walk, you notice a man with a long beard and a hat, digging through a cra
8179

8280
### At the workshop
8381

84-
<div>
85-
<img src="/lessons/02-first-ai-app/assets/leonardo-workshop.png" alt="Lenoardos workshop" width="300" >
86-
</div>
82+
![Leonardos workshop](/lessons/02-first-ai-app/assets/leonardo-workshop.png)
8783

8884
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.
8985

@@ -124,9 +120,7 @@ If you want to interact with Leonardo, run the [Characters](/app/README.md) app.
124120
> This is entirely fictional; the responses are generated by AI.
125121
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
126122
127-
<div>
128-
<img src="/lessons/02-first-ai-app/assets/leonardo-talk.jpeg" width=300>
129-
</div>
123+
![Leonardo talks](/lessons/02-first-ai-app/assets/leonardo-talk.jpeg)
130124

131125
**Steps**:
132126

@@ -461,9 +455,7 @@ Leonardo suddenly asked to inspect the Time Beetle closer, he looked at it from
461455

462456
**Time Beetle:** Nothing
463457

464-
<div>
465-
<img style="margin-top: 52px; margin-left: 15px; margin-right: 10px" align=right src="/lessons/02-first-ai-app/assets/helicopter.jpg" alt="Aerial screw, Leonardo Da Vinci" width="300" >
466-
</div>
458+
![Aerial screw, Leonardo Da Vinci](/lessons/02-first-ai-app/assets/helicopter.jpg)
467459

468460
> [!NOTE]
469461
> 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

lessons/03-prompt-engineering/README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +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-
<div>
38-
<img src="/lessons/03-prompt-engineering/assets/ludovico.png" alt="An angry Ludovico Sforza busting in through the door" width="300">
39-
</div>
37+
!["An angry Ludovico Sforza busting in through the door](/lessons/03-prompt-engineering/assets/ludovico.png)
4038

4139
*Ludovico Sforza*
4240

@@ -64,9 +62,7 @@ A swirl of colors envelops the carriage, the world around you dissolving into a
6462

6563
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.
6664

67-
<div>
68-
<img src="/lessons/03-prompt-engineering/assets/escape.png" alt="Escape from Rome" width="300">
69-
</div>
65+
![Escape from Rome](/lessons/03-prompt-engineering/assets/escape.png)
7066

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

@@ -104,9 +100,7 @@ With a final push, the aerial screw begins to spin. The blades catch the air, an
104100

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

107-
<div>
108-
<img src="/lessons/03-prompt-engineering/assets/airborne.png" alt="Airborne, looks down at the city with feet dangling" width="300">
109-
</div>
103+
![Airborne, looks down at the city with feet dangling](/lessons/03-prompt-engineering/assets/airborne.png)
110104

111105
## Interact with Sforza
112106

@@ -116,9 +110,7 @@ If you want to interact with Sforza, run the [Characters](/app/README.md) app.
116110
> This is entirely fictional; the responses are generated by AI.
117111
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
118112
119-
<div >
120-
<img src="/lessons/03-prompt-engineering/assets/ludovico.png" alt="Ludovico Sforza" width="300" >
121-
</div>
113+
![Ludovico Sforza](/lessons/03-prompt-engineering/assets/ludovico.png)
122114

123115
**Steps**:
124116

lessons/04-structured-output/README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +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-
<div>
50-
<img alt="Aztec calendar, Wikipedia" src="/lessons/04-structured-output/assets/aztec.png" width="300" />
51-
</div>
49+
![Aztec calendar, Wikipedia](/lessons/04-structured-output/assets/aztec.png)
5250

5351
_Aztec calendar, Wikipedia_
5452

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

5957
Before you can react, a group of Aztec soldiers approaches.
6058

61-
<div>
62-
<img src="/lessons/04-structured-output/assets/meeting.png" alt="Meeting with Aztecs" width="300" />
63-
</div>
59+
![Meeting with Aztecs](/lessons/04-structured-output/assets/meeting.png)
6460

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

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

8379
**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."
8480

85-
<div>
86-
<img src="/lessons/04-structured-output/assets/game.png" alt="Playing a game of Patolli" width="300" />
87-
</div>
81+
![Playing a game of Patolli](/lessons/04-structured-output/assets/game.png)
8882

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

@@ -114,9 +108,7 @@ With a final, decisive move, Leonardo wins the game. The room erupts in cheers a
114108
>
115109
> **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.
116110
117-
<div>
118-
<img width="300" src="/lessons/04-structured-output/assets/patolli.png" alt="Patolli board" />
119-
</div>
111+
![Patolli board](/lessons/04-structured-output/assets/patolli.png)
120112

121113
_Patolli - Wikipedia_
122114

@@ -128,9 +120,7 @@ If you want to interact with Montezuma, run the [Characters](/app/README.md) app
128120
> This is entirely fictional; the responses are generated by AI.
129121
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
130122
131-
<div>
132-
<img src="./assets/montezuma.jpeg" alt="Montezuma" width="300" />
133-
</div>
123+
![Montezuma](/lessons/04-structured-output/assets/montezuma.jpeg)
134124

135125
**Steps**:
136126

lessons/05-rag/README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +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-
<div>
40-
<img src="/lessons/05-rag/assets/mansion.jpeg" alt="Old mansion shown in a deep fog" width="300">
41-
</div>
39+
![Old mansion shown in a deep fog](/lessons/05-rag/assets/mansion.jpeg)
40+
4241

4342
### Running from the Dogs
4443

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

47-
<div>
48-
<img src="/lessons/05-rag/assets/dogs.jpeg" alt="Running from the dogs" width="300">
49-
</div>
46+
![Running from the dogs](/lessons/05-rag/assets/dogs.jpeg)
5047

5148
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.
5249

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

6360
**You:** But..
6461

65-
<div>
66-
<img src="/lessons/05-rag/assets/ada.jpeg" alt="Ada Lovelace and Charles Babbage working on a device" width="300">
67-
</div>
62+
![Ada Lovelace and Charles Babbage working on a device](/lessons/05-rag/assets/ada.jpeg)
6863

6964
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."
7065

@@ -84,9 +79,7 @@ If you want to interact with Ada, run the [Characters](/app/README.md) app.
8479
> This is entirely fictional; the responses are generated by AI.
8580
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
8681
87-
<div>
88-
<img src="/lessons/05-rag/assets/ada-2.jpeg" alt="Ada Lovelace" width="300">
89-
</div>
82+
![Ada Lovelace](/lessons/05-rag/assets/ada-2.jpeg)
9083

9184
**Steps**:
9285

lessons/06-tool-calling/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ You: "Who are we talking about and where can I find her?"
4141

4242
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.
4343

44-
<div>
45-
<img src="/lessons/06-tool-calling/assets/amelia.jpeg" alt="Amelia piloting a plane" width="300">
46-
</div>
44+
![Amelia piloting a plane](/lessons/06-tool-calling/assets/amelia.jpeg)
4745

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

@@ -71,9 +69,7 @@ If you want to interact with Ada, run the [Characters](/app/README.md) app.
7169
> This is entirely fictional; the responses are generated by AI.
7270
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
7371
74-
<div>
75-
<img src="/lessons/06-tool-calling/assets/amelia-front.jpeg" alt="Ada Lovelace" width="300">
76-
</div>
72+
![Ada Lovelace](/lessons/06-tool-calling/assets/amelia-front.jpeg)
7773

7874
**Steps**:
7975

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

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

99-
<div>
100-
<img src="/lessons/06-tool-calling/assets/tool_call_langchain.png" alt="Tool calling process illustration" width="600">
101-
</div>
95+
![Tool calling process illustration](/lessons/06-tool-calling/assets/tool_call_langchain.png)
10296

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

lessons/07-mcp/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +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-
<div>
50-
<img width="600" src="/lessons/07-mcp/assets/scipio.png" alt="Scipio Africanus">
51-
</div>
49+
![Scipio Africanus](/lessons/07-mcp/assets/scipio.png)
5250

5351
> 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.
5452
> 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.
@@ -61,9 +59,7 @@ If you want to interact with Scipio, run the [Characters](/app/README.md) app.
6159
> This is entirely fictional; the responses are generated by AI.
6260
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
6361
64-
<div>
65-
<img src="/lessons/07-mcp/assets/scipio.png" alt="Scipio Africanus" width="300">
66-
</div>
62+
![Scipio Africanus](/lessons/07-mcp/assets/scipio.png)
6763

6864
**Steps**:
6965

lessons/08-mcp-advanced/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +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-
<div>
49-
<img src="/lessons/08-mcp-advanced/assets/hedy-invention.jpeg" alt="Hedy Lamarr" width="600" />
50-
</div>
48+
![Hedy Lamarr](/lessons/08-mcp-advanced/assets/hedy-invention.jpeg)
5149

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

@@ -88,9 +86,7 @@ If you want to interact with Hedy, run the [Characters](/app/README.md) app.
8886
> This is entirely fictional; the responses are generated by AI.
8987
> [Responsible AI disclaimer](/README.md#responsible-ai-disclaimer)
9088
91-
<div>
92-
<img src="/lessons/08-mcp-advanced/assets/hedylamarr.jpeg" alt="Hedy Lamarr" width="300">
93-
</div>
89+
![Hedy Lamarr](/lessons/08-mcp-advanced/assets/hedylamarr.jpeg)
9490

9591
**Steps**:
9692

0 commit comments

Comments
 (0)