You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/scripts/glossary.genai.js
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
// GenAIScript to create a shared glossary from markdown files in lessons
2
2
script({
3
-
title: "Generate Glossary from Lessons",
3
+
title: "Generate glossary from lessons",
4
4
description: "Process all markdown files under /lessons/** to create a shared glossary.md file",
5
5
parameters: {
6
6
force: {
@@ -57,7 +57,7 @@ You are tasked with creating a comprehensive glossary of technical terms from th
57
57
${allContent}
58
58
59
59
## Instructions:
60
-
1. Extract technical terms related to:
60
+
1. Extract technical terms from the content to analyze related to:
61
61
- Generative AI and Machine Learning concepts
62
62
- Programming and development terms
63
63
- Web development technologies
@@ -69,13 +69,14 @@ ${allContent}
69
69
70
70
3. Focus on terms that would be valuable for developers learning about AI and JavaScript. Avoid terms that are too basic or not relevant to the context of AI and JavaScript development
71
71
72
-
4. Exclude common programming terms that most developers would know (like "function", "variable", "array") and historical terms that are only there for the storytelling aspect of the lessons.
72
+
4. Exclude thise terms and concepts:
73
+
- Common programming terms that most developers would know (like "function", "variable", "array")
74
+
- Historical terms or concepts that are only there for the storytelling aspect of the lessons
75
+
- Terms that are too similar to existing terms. For example, "Chain of Thought" and "Chain of Thought Prompting" are too similar and should not both be included.
73
76
74
-
5. Exclude terms that are too similar to existing terms. For example, "Chain of Thought" and "Chain of Thought Prompting" are too similar and should not both be included.
77
+
5. Format each entry as: **Term**: Definition
75
78
76
-
6. Format each entry as: **Term**: Definition
77
-
78
-
7. It's OK to not output anything if no new terms are found. In that case, just return an empty string.
79
+
6. It's OK to not output anything if no new terms are found. In that case, just return an empty string.
0 commit comments