Skip to content

Commit 357788f

Browse files
authored
Change "we" to "you" except in story conversation (#66)
* Update lessons 1 and 2 * Chapter 3 review + consistency fixes throughout * Fix "you will learn" to be consistent * Syntax fixes * Fix consistency in quiz * Chapter 4 review * Chapter 5 review * Add "coming soon" * Update "we" to "you" except in the story conversation. * Fix sentence
1 parent 4633086 commit 357788f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ If you want to talk to Dinocrates, run the [Characters](/app/README.md) app.
178178
179179
### Code sneak peek
180180

181-
While we still have a lot more to cover in this Generative AI curriculum, let's take a quick peek at the AI code to begin learning about using JavaScript with AI.
181+
While there is still a lot more to cover in this Generative AI curriculum, let's take a quick peek at the AI code to begin learning about using JavaScript with AI.
182182

183183
Inside of `/app/app.js` you'll find an `app.post`function that handles the Generative AI functionality. It's shown next:
184184

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ console.log(completion.choices[0]?.message?.content);
219219
220220
Let's explain what's happening here:
221221
222-
- Creating the question as 'Hello, how are you?'. This is the text we want to translate to Italian.
222+
- Creating the question as 'Hello, how are you?'. This is the text you want to translate to Italian.
223223
- Creating the augmented prompt, which contains the input text and some additional instructions what to do, i.e translate. Note how we're using string interpolation to include the input text in the prompt and how that instruction is to translate the text to Italian.
224224
- Creating the client with properties:
225225
- `model`, what model to use.
226-
- `messages`, the prompt to send to the model. Also note how we set the role to "user" to indicate that the input text is from the user. Had it been from the AI, we would set the role to "system".
226+
- `messages`, the prompt to send to the model. Also note how you set the role to "user" to indicate that the input text is from the user. Had it been from the AI, you would set the role to "system".
227227
- Extracting the generated text from the response and printing it to the console.
228228
229229
**You:** I think I get it. So if I change the value of the `question` variable to something else, the app will generate a different Italian translation?

lessons/04-structured-output/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Result:
229229
| Astrolabe | An astronomical instrument for solving problems related to time and star positions. | Brass or other metals, engraving tools, mathematical knowledge | Medium |
230230
| Printing Press | A press for reproducing texts more efficiently than hand-copying. | Wood, metal for movable type, ink, paper | High |
231231
232-
This time we end up with a table that is easier to read and understand.
232+
This time you end up with a table that is easier to read and understand.
233233
```
234234

235235
**Leonardo:** I like this, will save me a lot of time for sure.

lessons/05-rag/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For a more detailed explanation of the app, see [Detailed app explanation](../01
101101

102102
**Ada:** Let’s start by discussing the AI we’ll use to power the device. We’ll rely on “AI models” paired with a data retrieval system to boost response quality.
103103

104-
First, we need to address some challenges before diving into RAG details. These models, trained on vast text data, can produce relevant and correct responses. But, like any data source, their output can be inaccurate, incomplete, or misleading due to various factors.
104+
First, you need to address some challenges before diving into RAG details. These models, trained on vast text data, can produce relevant and correct responses. But, like any data source, their output can be inaccurate, incomplete, or misleading due to various factors.
105105

106106
- **Out of date sources:** The data used to train the model may be outdated and no longer accurate.
107107
- **Wrong or inaccurate information:** The sources used to train the model may contain incorrect or misleading information, like fake news or biased opinions.

0 commit comments

Comments
 (0)