only_ever_generator 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/bootstrap/app.js.map +1 -0
  2. package/dist/card_gen/generate_cards.js.map +1 -0
  3. package/dist/constants/api_constants.js.map +1 -0
  4. package/dist/constants/prompt_data.js +1 -1
  5. package/dist/constants/prompt_data.js.map +1 -0
  6. package/dist/constants/prompts/card_gen_prompt.js +91 -165
  7. package/dist/constants/prompts/card_gen_prompt.js.map +1 -0
  8. package/dist/constants/prompts/typology_prompt.js +19 -18
  9. package/dist/constants/prompts/typology_prompt.js.map +1 -0
  10. package/dist/constants/source_data.js.map +1 -0
  11. package/dist/gap_fill/calculate_gap_fill.js.map +1 -0
  12. package/dist/index.js +11 -16
  13. package/dist/parse/parse_card/parse_cloze_card.js +54 -17
  14. package/dist/parse/parse_card/parse_cloze_card.js.map +1 -0
  15. package/dist/parse/parse_card/parse_match_card.js +30 -8
  16. package/dist/parse/parse_card/parse_match_card.js.map +1 -0
  17. package/dist/parse/parse_card/parse_mcq_card.js.map +1 -0
  18. package/dist/parse/parse_card_response.js +5 -2
  19. package/dist/parse/parse_card_response.js.map +1 -0
  20. package/dist/parse/parse_source_content.js.map +1 -0
  21. package/dist/parse/response_format_card.js.map +1 -0
  22. package/dist/parse/response_format_typology.js.map +1 -0
  23. package/dist/services/open_ai_service.js.map +1 -0
  24. package/dist/typology_gen/generate_typology.js.map +1 -0
  25. package/dist/utils/generate_args.js.map +1 -0
  26. package/dist/utils/parse_openai_response.js.map +1 -0
  27. package/package.json +1 -1
  28. package/prompts.json +23 -0
  29. package/src/constants/prompt_data.ts +1 -1
  30. package/src/constants/prompts/card_gen_prompt.ts +91 -165
  31. package/src/constants/prompts/typology_prompt.ts +19 -18
  32. package/src/index.ts +10 -18
  33. package/src/parse/parse_card/parse_cloze_card.ts +50 -16
  34. package/src/parse/parse_card/parse_match_card.ts +42 -7
  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MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC;YACvD,QAAQ,CAAC,QAAQ,GAAG;gBAClB,QAAQ,EAAE,MAAA,QAAQ,CAAC,YAAY,mCAAI,IAAI,IAAI,EAAE;gBAC7C,QAAQ,EAAE,QAAQ,CAAC,IAAI;gBACvB,UAAU,EAAE,MAAA,QAAQ,CAAC,UAAU,0CAAE,aAAa;gBAC9C,UAAU,EAAE,MAAA,QAAQ,CAAC,UAAU,0CAAE,iBAAiB;gBAClD,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK;aAChC,CAAC;YACF,IAAI,QAAQ,CAAC,WAAW,IAAI,GAAG,EAAE,CAAC;gBAChC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC;gBACvC,IAAI,SAAS,GAAG,IAAI,uCAAiB,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAC,SAAS,CAAC,CAAC;gBAClE,OAAO,SAAS,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC;gBACpC,QAAQ,CAAC,QAAQ,CAAC,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC;gBACjD,OAAO,QAAQ,CAAC;YAClB,CAAC;QACH,CAAC;KAAA;CACF;AAhCD,sCAgCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_constants.js","sourceRoot":"","sources":["../../src/constants/api_constants.ts"],"names":[],"mappings":";;AAAA,wCAEC;AAFD,SAAgB,cAAc;IAC1B,OAAO,4CAA4C,CAAC;AACxD,CAAC"}
@@ -297,6 +297,6 @@ const promptData = {
297
297
  function returnPromptData() {
298
298
  return {
299
299
  "typology": (0, typology_prompt_1.returnTypologyPrompt)(),
300
- "card_generation": (0, card_gen_prompt_1.returnCardGenPrompt)(''),
300
+ "card_generation": (0, card_gen_prompt_1.returnCardGenPrompt)(),
301
301
  };
302
302
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt_data.js","sourceRoot":"","sources":["../../src/constants/prompt_data.ts"],"names":[],"mappings":";;AAySA,4CAKC;AA9SD,+DAAgE;AAChE,+DAAiE;AAEjE,MAAM,UAAU,GAAQ;IACpB,QAAQ,EAAE;QACN,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;SAuBL;QACD,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;SAqBP;QACD,QAAQ,EAAE;;;;;;;;;;;;;;;;SAgBT;QACD,KAAK,EAAE;;;;;;;;;;SAUN;QACD,QAAQ,EAAE;;;;;;;;;;;SAWT;QACD,SAAS,EAAC;;;;;;;;;;;;SAYT;KAEF;IACD,eAAe,EAAG;QAChB,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAwCL;QACD,QAAQ,EAAG;;;;;;;;;;;;;;;;SAgBV;QACD,KAAK,EAAE;;;;;;;;;;SAUN;QACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAsGT;QACD,SAAS,EAAG,gUAAgU;QAC5U,aAAa,EAAE;;;;;;;;;;;;0VAYmU;KAEnV;CACN,CAAA;AAED,SAAgB,gBAAgB;IAC5B,OAAO;QACH,UAAU,EAAE,IAAA,sCAAoB,GAAE;QAClC,iBAAiB,EAAE,IAAA,qCAAmB,GAAE;KAC3C,CAAC;AACN,CAAC"}
@@ -2,219 +2,145 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.returnCardGenPrompt = returnCardGenPrompt;
4
4
  const promptString = `
5
- As a dedicated assistant at a learning company, your role is to analyze educational content and create test cards that help learners understand and remember key concepts and facts. You will be provided with:
6
-
5
+ As a dedicated assistant at a learning company, your role is to create test cards based on the provided content. The purpose of these cards is to help learners master and understand the concepts and facts presented to you.
6
+ You will be provided with the following:
7
7
  1. Title of the source
8
- 2. Main headings
9
- 3. The content
10
- 4. The field of knowledge it belongs to
11
- 5. Key concepts in the source and the relevant main heading it references.
12
- 6. Important facts in the source and the relevant main heading it references.
13
-
8
+ 2. The content
9
+ 3. The field of knowledge it belongs to
10
+ 4. Key concepts in the source
11
+ 5. Important facts in the source
14
12
  **Follow these steps:**
15
- 1. Read the entire source, concepts and facts in the provide input.
16
- 2. Generate test cards for concepts: Take each concept and re-read the text under the reference heading for that concept. Start by trying to create a card that is at the highest bloom level possible (5 being the highest). Then work your way down to the lower bloom levels. Generate as many cards as possible for each concept. Keep going through the list of concepts till you have completed all of them.
17
- 3. Generate test cards for facts: Take each fact and re-read the text under the reference heading for that fact. Generate as many cards as possible to test that concept. Keep going through the list of concepts till you have completed all of them.
18
-
19
- **Note:** Further detailed instructions on how to create the content, references and bloom level for each test card type will be provided subsequently.
20
-
13
+ 1. Carefully read the entire source content, concepts and facts in the provide input.
14
+ 2. Generate test cards: Use the provided content to craft test cards that will help learners master the concepts and facts presented to you.
21
15
  **Format your response in the following JSON format:**
22
-
23
16
  json
24
17
  {
25
18
  "test_cards": [
26
19
  {
27
- "type": "mcq" | "cloze" | "match",
28
- "card_content": "{content}",
29
-
30
- "concepts": [{concept1}, {concept2}, "..."],
31
- "facts": [{fact1}, {fact2}, {...}],
32
- "bloom_level": 1 | 2 | 3 | 4 | 5
20
+ "type": "{card_type}",
21
+ "card_content": "{content}",
22
+ "concepts": ["concept1", "concept2", "..."],
23
+ "facts": ["fact1", "fact2", "..."]
33
24
  },
34
- {... as many as possible}
25
+ {... as many cards as possible}
35
26
  ]
36
27
  }
37
28
 
29
+ **Note:** Detailed instructions on card_type(s) and how to create the content for each test card type will be provided subsequently.
38
30
 
39
31
  **Criteria:**
40
-
41
32
  * Each test card must include at least one concept or fact.
42
- * Each concept and fact MUST HAVE at least one test card associated with it.
43
- * The final output should include test cards that cover the first 5 levels of Bloom's Taxonomy.
44
-
45
- **Further Instructions:**
46
-
47
- * Ensure variety in the types of test cards (MCQs, cloze tests, matching).
48
- * Balance the distribution of Bloom's Taxonomy levels across the test cards.
33
+ * The concepts and facts in each card MUST MATCH EXACTLY with those provided in the input.
34
+ * Ensure variety in the types of test cards created (if you are asked to create multiple types).
49
35
  * Provide clear and concise content for each test card, ensuring it is relevant to the concepts and facts identified.
50
36
  * Use appropriate and engaging language to enhance learning and retention.
51
37
 
52
- This section provides detailed guidance on how to generate cards.
53
-
54
- **Guidance on the card content**
38
+ **Cloze**
55
39
 
56
- 1. Clarity: Ensure the test content is clear and unambiguous.
57
- 2. Specificity: Be specific about what you are asking. Avoid vague or overly broad questions or prompts.
58
- 3. Simplicity: Use simple and direct language. Avoid complex sentences or jargon unless testing understanding of that jargon.
59
- 4. Relevance: Ensure the test content is related to the key concepts or facts you want to test.
40
+ A test card where a portion of text is masked for the learner to identify from the provided options.
41
+ Follow the schema below to create new cloze cards specially focus on how correct options are enclosed with in {{}}.
60
42
 
61
- Include the following properties for each card:
62
-
63
- bloom_level: Indicate the level of Bloom’s Taxonomy the card corresponds to (from level 1 to level 5). Ensure that you produce a balanced number of cards across all levels, focusing on levels 1 (Remembering) through 5 (Evaluating). Aim for a diverse range of cognitive challenges.
64
-
65
- Test cards must be one of the following types:
66
-
67
- 1. Multiple Choice Questions (MCQ): Provide multiple choices to pick from. One or more should be correct.
43
+ Use the schema below to create new cloze cards.
68
44
 
69
45
  json
70
46
  {
71
- "type": "mcq",
72
- "card_content": {
73
- "prompt": "<question text>",
74
- "choices": [
75
- {"choice": "choice content", "is_correct": true or false},
76
- {"choice": "choice content", "is_correct": true or false},
77
- "... up to 8 choices"
78
- ]
79
- },
80
- "concepts":
81
- [
82
- {
83
- "concept_text": "concept1_content",
84
- "reference": "main_heading"
85
- },
86
- {
87
- "concept_text": "concept2_content",
88
- "reference": "main_heading"
47
+ "type": "cloze",
48
+ "card_content":
49
+ {
50
+ "prompt": "This is some {{sample}} text for {{showing}} how to create clozes.",
51
+ "correct_options": ["sample", "showing"],
52
+ "incorrect_options": ["incorrect_option1", "incorrect_option2", "..."],
53
+ "explanation": "optional 320 character explanation"
89
54
  },
90
- {...}
91
- ],
92
- "facts":
93
- [
94
- {
95
- "fact_text": "fact1_content",
96
- "reference": "main_heading"
97
- },
98
- {
99
- "fact_text": "fact2_content",
100
- "reference": "main_heading"
101
- },
102
- {...}
103
- ],
104
- "bloom_level": <1-5>
55
+ "concepts": ["concept1", "concept2", "..."],
56
+ "facts": ["fact1", "fact2", ...]
57
+
105
58
  }
106
59
 
107
- • Minimum choices required: 2
108
- • Maximum choices allowed: 8
109
- • Minimum correct choices required: 1
110
- • Maximum character length for the prompt: 320
111
- • Maximum character length for each choice: 42
112
- • Do not add numbering to the choice content since these will be randomly sorted when displaying to the user
113
60
 
114
- 2. Cloze: A test card where a portion of text is masked for the learner to identify from the provided options. Use double curly braces {{c<n>: cloze_text}} to indicate a cloze, where n is the index number of the cloze (starting from 0) and cloze_text is the word or phrase being clozed.
61
+ * A valid cloze must include at least one or more words
62
+ * When appropriate, include a brief explanation (320 characters max) to help the learner understand the concept or fact and how to answer the question.
63
+ * Minimum clozes required: 1
64
+ * Minimum choices (correct options + incorrect options) required: 2
65
+ * Maximum choices (correct options + incorrect options) allowed: 8
66
+ * Maximum character length for the prompt: 320
67
+ * Maximum character length for an individual cloze: 90
68
+ **Flashcards**
69
+
70
+ Test cards that have a front and a back.
71
+
72
+ Use the schema below to create new flashcards.
115
73
 
116
74
  json
117
75
  {
118
- "type": "cloze",
76
+ "type": "flash",
119
77
  "card_content": {
120
- "prompt": "Accidentals in music denote {{c0:notes}} that do not belong to the {{c1:scale}} or {{c2:mode}} indicated by the key signature.",
121
- "options": [
122
- {"option": "notes", "cloze": "c0"},
123
- {"option": "scale", "cloze": "c1"},
124
- {"option": "mode", "cloze": "c2"},
125
- {"option": "chords", "cloze": "null"},
126
- "... up to 8 choices"
127
- ]
78
+ "front": "<content for the front>",
79
+ "back": "<content for the back>",
80
+ "explanation": "optional 320 character explanation"
128
81
  },
129
- "concepts":
130
- [
131
- {
132
- "concept_text": "concept1_content",
133
- "reference": "main_heading"
134
- },
135
- {
136
- "concept_text": "concept2_content",
137
- "reference": "main_heading"
138
- },
139
- {...}
140
- ],
141
- "facts":
142
- [
143
- {
144
- "fact_text": "fact1_content",
145
- "reference": "main_heading"
146
- },
147
- {
148
- "fact_text": "fact2_content",
149
- "reference": "main_heading"
150
- },
151
- {...}
152
- ],
153
- "bloom_level": <1-5>
82
+ "concepts": ["concept1", "concept2", "..."],
83
+ "facts": ["fact1", "fact2", "..."],
154
84
  }
155
85
 
156
- * Minimum choices required: 2
157
- * Maximum choices allowed: 8
158
- * Minimum correct choices required: 1
159
- * Maximum character length for the prompt: 320
160
- * Maximum character length for an individual cloze: 90
161
86
 
162
- 4. Match: Pairing items.
87
+ * Each side (front and back) must not exceed 320 characters.
88
+ * When appropriate, include a brief explanation (320 characters max) to help the learner understand the concept or fact and how to answer the question.
89
+
90
+ **Match**
91
+ Provide item pairs.
92
+ Use the schema below to create new match cards.
163
93
 
164
94
  json
165
95
  {
166
96
  "type": "match",
167
-
168
- "card_content" : [
97
+ "card_content":
98
+ [
169
99
  {
170
100
  "left_item" : "left_item text",
171
- "right_item" : ["right_item text" ]
101
+ "right_item" : "right_item text"
172
102
  },
173
103
  {
174
104
  "left_item" : "left_item text",
175
- "right_item" : ["right_item text"]
105
+ "right_item" : "right_item text"
176
106
  },
177
107
  {"... up to 8 total pairs"}
178
108
  ],
179
- "concepts":
180
- [
181
- {
182
- "concept_text": "concept1_content",
183
- "reference": "main_heading"
184
- },
185
- {
186
- "concept_text": "concept2_content",
187
- "reference": "main_heading"
188
- },
189
- {...}
190
- ],
191
- "facts":
192
- [
193
- {
194
- "fact_text": "fact1_content",
195
- "reference": "main_heading"
196
- },
197
- {
198
- "fact_text": "fact2_content",
199
- "reference": "main_heading"
200
- },
201
- {...}
202
- ],
203
- "bloom_level": <1-5>
109
+ "concepts": ["concept1", "concept2", "..."],
110
+ "facts": ["fact1", "fact2", ...]
204
111
  }
205
112
 
206
- * Maximum character length for each item in a pair: 42
207
- * Duplicate items are allowed on the left side but not on the right side. Or in other words the same item on the left can be paired with multiple items on the right.
208
113
 
114
+ * Maximum character length for each left/right item text : 30, strictly enforced.
115
+ * Duplicate items are allowed. Or in other words the same item on one side can be paired with multiple items on the other side.
209
116
 
117
+ **Multiple Choice Questions (MCQ)**
118
+ Provide multiple choices to pick from. One or more should be correct.
119
+ Use the schema below to create new MCQ cards.
120
+ json
121
+ {
122
+ "type": "mcq",
123
+ "card_content": {
124
+ "prompt": "<question text>",
125
+ "choices": [
126
+ {"choice": "choice content", "is_correct": true or false},
127
+ {"choice": "choice content", "is_correct": true or false},
128
+ "... up to 8 choices"
129
+ ],
130
+ "explanation": "optional 320 character explanation"
131
+ },
132
+ "concepts": ["concept1", "concept2", "..."],
133
+ "facts": ["fact1", "fact2", ...]
134
+ }
210
135
 
211
- ** Overall Criteria for Testing Cards **
212
136
 
213
- 1. Each card should present the learner with a unique challenge that improves their learning.
214
- 2. Ensure that you produce at least one if not more card for each concept and fact.
215
- 3. For each concept and fact start by trying to create a card at the highest bloom level possible.
216
- 4. Do not skip any concepts or facts, and be thorough in your coverage.
217
- 5. Cards should span across different levels of Bloom’s Taxonomy, from level 1 (Remembering) to level 5 (Evaluating), but exclude level 6 (Creating).
137
+ * When appropriate, include a brief explanation (320 characters max) to help the learner understand the concept or fact and how to answer the question.
138
+ * Minimum choices required: 2
139
+ * Maximum choices allowed: 8
140
+ * Minimum correct choices required: 1
141
+ * Maximum character length for the prompt: 320
142
+ * Maximum character length for each choice: 42
143
+ * DO NOT add numbering to the choice content since these will be randomly sorted when displaying to the user
218
144
  Once you are done generating the test cards. Go back and evaulate the full list of concepts and facts provided as the input.
219
145
 
220
146
  Are there any concept or fact that don't have a test card yet? If yes, go back and create one.
@@ -223,12 +149,12 @@ Once you are done creating come back to this step again to check if you have ful
223
149
 
224
150
  Once you are done generating the test cards, review the full list of concepts and facts, including any missing ones you identified.
225
151
 
226
- 1. Ensure every concept and fact has at least one test card (if not more).
227
- 2. If any concept or fact is missing a test card, create one for it.
228
- 3. Repeat this step until all concepts and facts are covered.
152
+ 1. Ensure every concept and fact has at least one test card (if not more).
153
+ 2. If any concept or fact is missing a test card, create one for it.
154
+ 3. Repeat this step until all concepts and facts are covered.
229
155
 
230
156
  Only stop generating test questions once you believe there is sufficient testing material for learners to fully understand the concepts and remember the facts. The same concept or fact can have multiple test cards, so continue creating test cards until you are confident that there are enough for learners to fully grasp the source material.
231
157
  `;
232
- function returnCardGenPrompt(cardGenPrompt) {
158
+ function returnCardGenPrompt() {
233
159
  return promptString;
234
160
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card_gen_prompt.js","sourceRoot":"","sources":["../../../src/constants/prompts/card_gen_prompt.ts"],"names":[],"mappings":";;AAiKA,kDAEC;AAnKD,MAAM,YAAY,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgK5B,CAAC;AACF,SAAgB,mBAAmB;IAC/B,OAAO,YAAY,CAAC;AACxB,CAAC"}
@@ -2,15 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.returnTypologyPrompt = returnTypologyPrompt;
4
4
  const typologyPromptString = `
5
- You are a dedicated assistant that categorizes and summarizes educational content. You will process educational content (in JSON format) that represents text from diverse sources such as PDFs, book chapters, videos, and websites. Follow these steps:
5
+ You are a dedicated assistant that categorizes and summarizes educational content. You will process educational content (in JSON format) that represents text from diverse sources such as wikipedia, markdown notes, PDFs, book chapters, and websites.
6
+ You will be provided with the following:
7
+ 1. Title of the source
8
+ 2. A list of main headings in the source
9
+ 3. The source content
6
10
 
11
+ Follow these steps:
7
12
  1. Classify the content into one to three predefined fields of knowledge.
8
13
  2. Extract key concepts within the content. Be exhaustive and thorough.
9
- 3. Extract concrete facts that are relevant to the subject and referenced in the content.
10
- 4. Decide whether the provided text has educational value and should be used to generate test material and quizzes based on the identified concepts and facts.
14
+ 3. Extract concrete and relevant facts that are referenced in the content. Be exhaustive and thorough.
15
+ 4. Decide whether the content has any educational value and should be used to generate test material and quizzes based on the identified concepts and facts.
11
16
  5. If the generate_cards is true then summarize the content using a series of summary cards.
12
17
 
13
- Please format your findings in this JSON schema:
18
+ Output your answer as valid JSON, in the form:
14
19
  json
15
20
  {
16
21
  "field": ["primary_field", "secondary_field", "tertiary_field"],
@@ -61,9 +66,9 @@ Every source must be placed under a field. This is the broadest category of know
61
66
  Extract key concepts within the content after classifying the field. This is a crucial part of the exercise. Be exhaustive and thorough.
62
67
 
63
68
  1. **Definition of a Concept**: Concepts are fundamental ideas that form the basis of knowledge in any discipline. They help organize and explain information, making it accessible and relatable.
64
- 2. **Inclusion Criteria**: Include a concept only if it is discussed in detail, meaning it is explained thoroughly, tied to specific examples, or highlighted as a critical part of the subject matter.
69
+ 2. **Inclusion Criteria**: Include a concept only if it is discussed in detail and is an important part of the subject matter of the source.
65
70
  3. **How to describe a concept**: The concept should be described so that a reader can comprehend the gist of it.
66
- 4. **Character Limit**: Maintain a limit of 60 characters for the to ensure each concept is concise yet informative.
71
+ 4. **Character Limit**: Maintain a limit of 90 characters to ensure each concept is concise yet informative.
67
72
  5. **Reference**: Every concept must include a reference. A reference can either be the entire source or a specific heading in the source. Whenever possible, pick a main heading to direct the user to the most relevant part of the source material. The heading must exactly match one of the headings provided to you. Sometimes concepts may need to reference the entire text or multiple headings, leave the reference empty for such cases.
68
73
 
69
74
  List the concepts in the following JSON format:
@@ -77,12 +82,11 @@ json
77
82
  },
78
83
  {...}
79
84
  ]
80
-
81
85
  After classifying the content and identifying key concepts, proceed to extract and list verifiable facts.
82
86
 
83
87
  1. **Definition of a Fact**: Ensure each fact is a standalone piece of information that is concrete and can be independently verified.
84
- 2. **Selection Criteria**: Choose facts based on their significance to the content's main themes or concepts, their educational value, or their foundational role in the subject.
85
- 3. **Character Limit**: Maintain a limit of 60 characters for the to ensure each message is concise yet informative.
88
+ 2. **Selection Criteria**: Inlcude facts based on their significance to the content's main themes or concepts, their educational value and their foundational role in the subject.
89
+ 3. **Character Limit**: Maintain a limit of 90 characters for the to ensure each message is concise yet informative.
86
90
  4. **Reference**: Every fact must include a reference. A reference can either be the entire source or a specific heading in the source. Whenever possible, pick a main heading to direct the user to the most relevant part of the source material. The heading must exactly match one of the headings provided to you. Sometimes facts may need to reference the entire text or multiple headings, leave the reference empty for such cases.
87
91
 
88
92
  List the facts in the following JSON format:
@@ -96,22 +100,17 @@ json
96
100
  },
97
101
  {...}
98
102
  ]
103
+ After you have examined the content —its field, its concepts, and its facts— determine whether it justifies the creation of quiz materials.
99
104
 
100
- After analyzing the content, classifying its field, and identifying key concepts, and facts, assess whether the discovered elements warrant the creation of testing (quiz) materials.
101
-
102
- Consider if these elements provide significant educational value to an average learner by enhancing understanding, offering practical applications, or supporting crucial educational goals. If you decide that the source does not hold educational value that is worthy of generating testing material or quizzes for then please provide a reason in less than 90 characters.
105
+ Consider whether these elements offer the average learner meaningful insights, practical uses, or serve important educational aims. If, in your judgment, the material falls short of providing such value, explain why in fewer than 90 characters.
103
106
 
104
- 1. **Value Assessment**: Determine if the concepts and facts are essential for understanding the broader topic, are likely to be used in practical scenarios, or help in achieving educational benchmarks.
105
- 2. **Criteria for Material Generation**: Generate testing materials if the concepts and facts are central to the content, have broad applicability, and are likely to reinforce or expand the learner’s knowledge significantly.
106
-
107
- Make your decision using this criterion and reflect it in the JSON format as follows:
107
+ Reflect your in the JSON format as follows:
108
108
 
109
109
  json
110
110
  "generate_cards":
111
111
  { state: true or false,
112
112
  reason: "reason for marking the source as false. Leave empty for true."
113
113
  }
114
-
115
114
  After analyzing the content, identifying key concepts, and facts, summarize the material using a series of engaging and informative cards.
116
115
 
117
116
  These cards should capture the essence of the content while highlighting the critical concepts and facts that you previously identified.
@@ -127,9 +126,11 @@ Format your output in JSON as follows:
127
126
 
128
127
  json
129
128
  {
130
- "summary_cards": ["summary_card1_content", "summary_card2_content", "summary_card3_content", "..."]
129
+ "summary_cards": ["summary_card1_content", "summary_card2_content", "summary_card3_content", "... up to 8 summary cards"]
131
130
  }
132
131
 
132
+
133
+
133
134
  `;
134
135
  function returnTypologyPrompt() {
135
136
  return typologyPromptString;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typology_prompt.js","sourceRoot":"","sources":["../../../src/constants/prompts/typology_prompt.ts"],"names":[],"mappings":";;AAwIA,oDAEC;AA1ID,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkI5B,CAAC;AAMF,SAAgB,oBAAoB;IAChC,OAAO,oBAAoB,CAAC;AAChC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source_data.js","sourceRoot":"","sources":["../../src/constants/source_data.ts"],"names":[],"mappings":";;AAw4CA,oCAqBC;AAuFD,4CAEC;AAED,wCAEC;AAED,gDAEC;AA9/CD,MAAM,YAAY,GAAG;IACnB;QACE,UAAU,EAAE,WAAW;QACvB,OAAO,EACL,s+BAAs+B;KACz+B;IACD;QACE,UAAU,EAAE,WAAW;QACvB,OAAO,EACL,0bAA0b;KAC7b;IACD;QACE,UAAU,EAAE,WAAW;QACvB,OAAO,EACL,uhCAAuhC;KAC1hC;IACD;QACE,UAAU,EAAE,SAAS;QACrB,OAAO,EAAE,aAAa;QACtB,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR;gBACE,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,OAAO;gBAChB,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE;oBAC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AE,CAAC;gBAC9B,qBAAqB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC/C,CAAC;YACD,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;gBAC3B,kBAAkB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QAED,IAAI,oBAAoB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;QACtE,IAAI,iBAAiB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC;QAEhE,iBAAiB,GAAG,WAAW,CAAC,MAAM,CACpC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,oBAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAC/C,CAAC;QACD,cAAc,GAAG,QAAQ,CAAC,MAAM,CAC/B,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAC5C,CAAC;IACJ,CAAC;IAGD,OAAO;QACL,8BAA8B;QAC9B,wBAAwB;QACxB,6CAA6C;QAC7C,uCAAuC;QACvC,iBAAiB,EAAE,iBAAiB;QACpC,cAAc,EAAE,cAAc;KAC/B,CAAC;AACJ,CAAC"}
package/dist/index.js CHANGED
@@ -8,13 +8,20 @@
8
8
  // import config from "./config";
9
9
  // const app = express();
10
10
  // const port = 3000;
11
+ // import { returnPromptData } from "./constants/prompt_data";
12
+ // import { GenerateCards } from "./card_gen/generate_cards";
13
+ // import { OpenAiService } from "./services/open_ai_service";
14
+ // import { ParseCardResponse } from "./parse/parse_card_response";
15
+ // import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
16
+ // import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
17
+ // import { GenerateArgs } from "./utils/generate_args";
11
18
  Object.defineProperty(exports, "__esModule", { value: true });
12
19
  exports.OnlyEverGenerator = void 0;
13
20
  const app_1 = require("./bootstrap/app");
14
21
  Object.defineProperty(exports, "OnlyEverGenerator", { enumerable: true, get: function () { return app_1.OnlyEverGenerator; } });
15
- // //. All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
16
- // //below this line
17
- // let oeGen = new OnlyEverGenerator(config.openAIKey, "gpt-4o", {
22
+ // . All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
23
+ // below this line
24
+ // let oeGen = new OnlyEverGenerator(config.openAIKey, "gpt-4o-mini", {
18
25
  // prompt: returnPromptData(),
19
26
  // content: returnSourceData(),
20
27
  // });
@@ -48,19 +55,7 @@ Object.defineProperty(exports, "OnlyEverGenerator", { enumerable: true, get: fun
48
55
  // });
49
56
  // app.get("/typology", async (req, res) => {
50
57
  // {
51
- // let typologyPrompt = returnTypologyPrompt();
52
- // let cardPrompt = returnCardGenPrompt();
53
- // let args = new GenerateArgs(
54
- // true,
55
- // true,
56
- // false,
57
- // {
58
- // typology_prompt: typologyPrompt,
59
- // card_gen_prompt: cardPrompt,
60
- // summary_prompt: "",
61
- // }
62
- // )
63
- // let typologyRequest = await oeGen.generate(false, true);
58
+ // let typologyRequest = await oeGen.generate(true, true);
64
59
  // res.send(typologyRequest);
65
60
  // }
66
61
  // });