learngraph 0.8.0 → 0.9.0
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.
- package/dist/cjs/llm/index.js +5 -1
- package/dist/cjs/llm/index.js.map +1 -1
- package/dist/cjs/llm/prompts.js +169 -1
- package/dist/cjs/llm/prompts.js.map +1 -1
- package/dist/cjs/storage/levelgraph.js +6 -3
- package/dist/cjs/storage/levelgraph.js.map +1 -1
- package/dist/cjs/types/index.js +7 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/resource.js +151 -0
- package/dist/cjs/types/resource.js.map +1 -0
- package/dist/esm/llm/index.js +1 -1
- package/dist/esm/llm/index.js.map +1 -1
- package/dist/esm/llm/prompts.js +166 -0
- package/dist/esm/llm/prompts.js.map +1 -1
- package/dist/esm/storage/levelgraph.js +6 -3
- package/dist/esm/storage/levelgraph.js.map +1 -1
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/resource.js +144 -0
- package/dist/esm/types/resource.js.map +1 -0
- package/dist/types/llm/index.d.ts +1 -1
- package/dist/types/llm/index.d.ts.map +1 -1
- package/dist/types/llm/prompts.d.ts +134 -0
- package/dist/types/llm/prompts.d.ts.map +1 -1
- package/dist/types/storage/levelgraph.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/resource.d.ts +202 -0
- package/dist/types/types/resource.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ export declare const SYSTEM_PROMPTS: {
|
|
|
8
8
|
skillExtraction: string;
|
|
9
9
|
prerequisiteInference: string;
|
|
10
10
|
bloomAnalysis: string;
|
|
11
|
+
resourceReferenceExtraction: string;
|
|
12
|
+
deepResourceAnalysis: string;
|
|
11
13
|
curriculumDecomposition: string;
|
|
12
14
|
};
|
|
13
15
|
export declare const EXTRACTION_SCHEMA: {
|
|
@@ -231,6 +233,117 @@ export declare const DECOMPOSITION_SCHEMA: {
|
|
|
231
233
|
};
|
|
232
234
|
required: string[];
|
|
233
235
|
};
|
|
236
|
+
export declare const RESOURCE_REFERENCE_SCHEMA: {
|
|
237
|
+
type: string;
|
|
238
|
+
properties: {
|
|
239
|
+
resources: {
|
|
240
|
+
type: string;
|
|
241
|
+
items: {
|
|
242
|
+
type: string;
|
|
243
|
+
properties: {
|
|
244
|
+
name: {
|
|
245
|
+
type: string;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
type: {
|
|
249
|
+
type: string;
|
|
250
|
+
enum: string[];
|
|
251
|
+
description: string;
|
|
252
|
+
};
|
|
253
|
+
reference: {
|
|
254
|
+
type: string;
|
|
255
|
+
description: string;
|
|
256
|
+
};
|
|
257
|
+
originalMention: {
|
|
258
|
+
type: string;
|
|
259
|
+
description: string;
|
|
260
|
+
};
|
|
261
|
+
relatedSkillIds: {
|
|
262
|
+
type: string;
|
|
263
|
+
items: {
|
|
264
|
+
type: string;
|
|
265
|
+
};
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
estimatedMinutes: {
|
|
269
|
+
type: string;
|
|
270
|
+
description: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
required: string[];
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
required: string[];
|
|
278
|
+
};
|
|
279
|
+
export declare const DEEP_ANALYSIS_SCHEMA: {
|
|
280
|
+
type: string;
|
|
281
|
+
properties: {
|
|
282
|
+
identifiedSkills: {
|
|
283
|
+
type: string;
|
|
284
|
+
items: {
|
|
285
|
+
type: string;
|
|
286
|
+
properties: {
|
|
287
|
+
skillId: {
|
|
288
|
+
type: string;
|
|
289
|
+
description: string;
|
|
290
|
+
};
|
|
291
|
+
isExisting: {
|
|
292
|
+
type: string;
|
|
293
|
+
description: string;
|
|
294
|
+
};
|
|
295
|
+
confidence: {
|
|
296
|
+
type: string;
|
|
297
|
+
minimum: number;
|
|
298
|
+
maximum: number;
|
|
299
|
+
};
|
|
300
|
+
coverageDetails: {
|
|
301
|
+
type: string;
|
|
302
|
+
description: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
required: string[];
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
keyTopics: {
|
|
309
|
+
type: string;
|
|
310
|
+
items: {
|
|
311
|
+
type: string;
|
|
312
|
+
};
|
|
313
|
+
description: string;
|
|
314
|
+
};
|
|
315
|
+
assumedPrerequisites: {
|
|
316
|
+
type: string;
|
|
317
|
+
items: {
|
|
318
|
+
type: string;
|
|
319
|
+
};
|
|
320
|
+
description: string;
|
|
321
|
+
};
|
|
322
|
+
learningObjectives: {
|
|
323
|
+
type: string;
|
|
324
|
+
items: {
|
|
325
|
+
type: string;
|
|
326
|
+
};
|
|
327
|
+
description: string;
|
|
328
|
+
};
|
|
329
|
+
difficultyLevel: {
|
|
330
|
+
type: string;
|
|
331
|
+
enum: string[];
|
|
332
|
+
};
|
|
333
|
+
qualityScore: {
|
|
334
|
+
type: string;
|
|
335
|
+
minimum: number;
|
|
336
|
+
maximum: number;
|
|
337
|
+
};
|
|
338
|
+
warnings: {
|
|
339
|
+
type: string;
|
|
340
|
+
items: {
|
|
341
|
+
type: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
required: string[];
|
|
346
|
+
};
|
|
234
347
|
/**
|
|
235
348
|
* Build a skill extraction prompt
|
|
236
349
|
*/
|
|
@@ -266,4 +379,25 @@ export declare function buildDecompositionPrompt(content: string, options?: {
|
|
|
266
379
|
context?: string;
|
|
267
380
|
maxDepth?: number;
|
|
268
381
|
}): string;
|
|
382
|
+
/**
|
|
383
|
+
* Build a resource reference extraction prompt (Option 2)
|
|
384
|
+
*/
|
|
385
|
+
export declare function buildResourceReferencePrompt(content: string, skills: Array<{
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
}>, options?: {
|
|
389
|
+
domain?: string;
|
|
390
|
+
context?: string;
|
|
391
|
+
}): string;
|
|
392
|
+
/**
|
|
393
|
+
* Build a deep resource analysis prompt (Option 3)
|
|
394
|
+
*/
|
|
395
|
+
export declare function buildDeepAnalysisPrompt(resourceContent: string, resourceName: string, existingSkills: Array<{
|
|
396
|
+
id: string;
|
|
397
|
+
name: string;
|
|
398
|
+
description: string;
|
|
399
|
+
}>, options?: {
|
|
400
|
+
resourceType?: string;
|
|
401
|
+
context?: string;
|
|
402
|
+
}): string;
|
|
269
403
|
//# sourceMappingURL=prompts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/llm/prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAMpD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/llm/prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAMpD,eAAO,MAAM,cAAc;;;;;;;CA6I1B,CAAC;AAMF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuD7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBjC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ChC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;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;IA2CpE,WAAW,CACf,KAAK,EAAE,cAAc,EAAE,EACvB,KAAK,EAAE,qBAAqB,EAAE,EAC9B,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE,GACpC,OAAO,CAAC,YAAY,CAAC;IAyElB,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC;IAcnC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAczB,QAAQ,IAAI,OAAO,CAAC,UAAU,CAAC;CAQtC"}
|
|
@@ -19,5 +19,7 @@ export type { ParseFormat, DocumentMetadata, LearningObjective, Topic, Module, P
|
|
|
19
19
|
export type { LLMProvider, LLMConfig, OpenAIConfig, AnthropicConfig, OllamaConfig, MessageRole, ChatMessage, CompletionRequest, CompletionResponse, SkillExtractionRequest, ExtractedSkillLLM, SkillExtractionResponse, PrerequisiteInferenceRequest, InferredPrerequisite, PrerequisiteInferenceResponse, BloomAnalysisRequest, BloomAnalysisResponse, DecompositionRequest, DecompositionResponse, LLMAdapter, LLMOrchestrator, } from './llm.js';
|
|
20
20
|
export type { QuestionId, QuestionType, AnswerOption, MatchingPair, Question, QuestionInput, AssessmentId, AssessmentType, SelectionStrategy, TerminationCriteria, Assessment, AssessmentInput, ResponseId, LearnerResponse, AssessmentSession, IRTModel, IRTParameters, IRTAbilityEstimate, IRTConfig, BKTParameters, BKTState, BKTConfig, EvidenceSource, LearningEvidence, EvidenceSummary, ItemSelection, AdaptiveState, AdaptiveConfig, AssessmentResult, DifficultyAdjustment, AssessmentValidation, } from './assessment.js';
|
|
21
21
|
export { createQuestionId, createAssessmentId, createResponseId, BKT_DEFAULTS, } from './assessment.js';
|
|
22
|
+
export type { ResourceId, ResourceType, Resource, ResourceInput, TeachesEdge, ResourceReference, DeepResourceAnalysis, ExtractionMode, ExtractionModeConfig, } from './resource.js';
|
|
23
|
+
export { createResourceId, EXTRACTION_MODES, detectResourceType, getResourceTypeIcon, getResourceTypeColor, } from './resource.js';
|
|
22
24
|
export type { EmbeddingProvider, EmbeddingConfigBase, OpenAIEmbeddingConfig, VoyageEmbeddingConfig, CohereEmbeddingConfig, LocalEmbeddingConfig, EmbeddingConfig, EmbeddingResult, BatchEmbeddingResult, EmbeddingAdapter, SkillWithEmbedding, SimilarityMetric, VectorSearchResult, VectorSearchOptions, GraphRAGSearchResult, GraphRAGSearchOptions, GraphRAGContext, LearningPathRAGRequest, LearningPathRAGResult, GraphRAGStorage, EmbeddingAdapterFactory, GraphRAGStorageFactory, } from './graphrag.js';
|
|
23
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAKpB,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACtF,OAAO,EACL,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAKpB,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC3F,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,GAChB,MAAM,WAAW,CAAC;AAKnB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1E,YAAY,EACV,QAAQ,EACR,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAs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EAChB,eAAe,EAEf,aAAa,EACb,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,GACb,MAAM,iBAAiB,CAAC;AAKzB,YAAY,EAEV,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAEhB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EAEnB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAEf,sBAAsB,EACtB,qBAAqB,EAErB,eAAe,EAEf,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAKpB,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACtF,OAAO,EACL,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAKpB,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC3F,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,GAChB,MAAM,WAAW,CAAC;AAKnB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EA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jB,mBAAmB,EACnB,UAAU,EACV,eAAe,EAEf,UAAU,EACV,eAAe,EACf,iBAAiB,EAEjB,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,SAAS,EAET,aAAa,EACb,QAAQ,EACR,SAAS,EAET,cAAc,EACd,gBAAgB,EAChB,eAAe,EAEf,aAAa,EACb,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,GACb,MAAM,iBAAiB,CAAC;AAKzB,YAAY,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AAKvB,YAAY,EAEV,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAEhB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EAEnB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAEf,sBAAsB,EACtB,qBAAqB,EAErB,eAAe,EAEf,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import type { SkillId } from './skill.js';
|
|
2
|
+
/**
|
|
3
|
+
* Unique identifier for resources
|
|
4
|
+
*/
|
|
5
|
+
export type ResourceId = string & {
|
|
6
|
+
readonly __brand: unique symbol;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Create a typed ResourceId from a string
|
|
10
|
+
*/
|
|
11
|
+
export declare function createResourceId(id: string): ResourceId;
|
|
12
|
+
/**
|
|
13
|
+
* Types of learning resources
|
|
14
|
+
*/
|
|
15
|
+
export type ResourceType = 'book' | 'chapter' | 'article' | 'video' | 'youtube' | 'pdf' | 'document' | 'website' | 'slides' | 'exercise' | 'quiz' | 'lab' | 'other';
|
|
16
|
+
/**
|
|
17
|
+
* Represents a learning resource that teaches skills
|
|
18
|
+
*
|
|
19
|
+
* A Resource is any learning material (textbook chapter, video, article, etc.)
|
|
20
|
+
* that can be used to teach one or more skills in the knowledge graph.
|
|
21
|
+
*/
|
|
22
|
+
export interface Resource {
|
|
23
|
+
/** Unique identifier for the resource */
|
|
24
|
+
id: ResourceId;
|
|
25
|
+
/** Display name of the resource */
|
|
26
|
+
name: string;
|
|
27
|
+
/** Description of what this resource covers */
|
|
28
|
+
description: string;
|
|
29
|
+
/** Type of resource */
|
|
30
|
+
type: ResourceType;
|
|
31
|
+
/**
|
|
32
|
+
* URL or reference to the resource
|
|
33
|
+
* Can be a URL, file path, or textual reference like "Chapter 4 of Introduction to Algorithms"
|
|
34
|
+
*/
|
|
35
|
+
reference: string;
|
|
36
|
+
/**
|
|
37
|
+
* IDs of skills this resource teaches or covers
|
|
38
|
+
* This creates TEACHES relationships in the graph
|
|
39
|
+
*/
|
|
40
|
+
skillIds: SkillId[];
|
|
41
|
+
/**
|
|
42
|
+
* How well this resource covers each skill (0-1 scale)
|
|
43
|
+
* Maps skill ID to coverage score
|
|
44
|
+
* - 1.0: Comprehensive deep coverage
|
|
45
|
+
* - 0.7-0.9: Good coverage with examples
|
|
46
|
+
* - 0.4-0.6: Moderate coverage, introduces concepts
|
|
47
|
+
* - 0.1-0.3: Brief mention or tangential
|
|
48
|
+
*/
|
|
49
|
+
coverageScores?: Record<string, number>;
|
|
50
|
+
/**
|
|
51
|
+
* Estimated time to consume this resource in minutes
|
|
52
|
+
*/
|
|
53
|
+
estimatedMinutes?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Optional content extracted from the resource (for deep analysis)
|
|
56
|
+
* This is populated when doing Option 3 deep resource analysis
|
|
57
|
+
*/
|
|
58
|
+
extractedContent?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Source of the resource reference
|
|
61
|
+
* - 'syllabus': Extracted from syllabus text (Option 2)
|
|
62
|
+
* - 'uploaded': User uploaded the actual resource (Option 3)
|
|
63
|
+
* - 'linked': User provided a URL that was fetched
|
|
64
|
+
*/
|
|
65
|
+
source: 'syllabus' | 'uploaded' | 'linked';
|
|
66
|
+
/**
|
|
67
|
+
* Original text from syllabus mentioning this resource
|
|
68
|
+
* Only populated for source='syllabus'
|
|
69
|
+
*/
|
|
70
|
+
originalMention?: string;
|
|
71
|
+
/** Arbitrary metadata for extensibility */
|
|
72
|
+
metadata: Record<string, unknown>;
|
|
73
|
+
/** ISO 8601 timestamp of creation */
|
|
74
|
+
createdAt: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input for creating a new resource (without generated fields)
|
|
78
|
+
*/
|
|
79
|
+
export type ResourceInput = Omit<Resource, 'id' | 'createdAt'> & {
|
|
80
|
+
id?: ResourceId;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A TEACHES relationship between a resource and a skill
|
|
84
|
+
*/
|
|
85
|
+
export interface TeachesEdge {
|
|
86
|
+
/** Resource that teaches the skill */
|
|
87
|
+
resourceId: ResourceId;
|
|
88
|
+
/** Skill being taught */
|
|
89
|
+
skillId: SkillId;
|
|
90
|
+
/**
|
|
91
|
+
* Coverage score (0-1)
|
|
92
|
+
* How comprehensively the resource covers this skill
|
|
93
|
+
*/
|
|
94
|
+
coverage: number;
|
|
95
|
+
/**
|
|
96
|
+
* Specific topics from this resource that relate to the skill
|
|
97
|
+
*/
|
|
98
|
+
topics?: string[];
|
|
99
|
+
/**
|
|
100
|
+
* Page numbers, timestamps, or sections where this skill is covered
|
|
101
|
+
*/
|
|
102
|
+
references?: string[];
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Resource extraction result from syllabus parsing (Option 2)
|
|
106
|
+
*/
|
|
107
|
+
export interface ResourceReference {
|
|
108
|
+
/** Name or title of the resource */
|
|
109
|
+
name: string;
|
|
110
|
+
/** Type of resource */
|
|
111
|
+
type: ResourceType;
|
|
112
|
+
/** The reference string (e.g., "Chapter 4", "Khan Academy video on X") */
|
|
113
|
+
reference: string;
|
|
114
|
+
/** Original text from syllabus mentioning this resource */
|
|
115
|
+
originalMention: string;
|
|
116
|
+
/** Which skill IDs this resource is associated with */
|
|
117
|
+
relatedSkillIds: string[];
|
|
118
|
+
/** Estimated time in minutes if discernible */
|
|
119
|
+
estimatedMinutes?: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Deep resource analysis result (Option 3)
|
|
123
|
+
* When actual resource content is analyzed
|
|
124
|
+
*/
|
|
125
|
+
export interface DeepResourceAnalysis {
|
|
126
|
+
/** The resource being analyzed */
|
|
127
|
+
resource: Resource;
|
|
128
|
+
/**
|
|
129
|
+
* Skills extracted or identified from analyzing the actual content
|
|
130
|
+
*/
|
|
131
|
+
identifiedSkills: Array<{
|
|
132
|
+
/** Skill ID if matching existing skill, or new ID if new skill */
|
|
133
|
+
skillId: string;
|
|
134
|
+
/** Whether this is an existing skill or newly identified */
|
|
135
|
+
isExisting: boolean;
|
|
136
|
+
/** How confidently this skill is covered */
|
|
137
|
+
confidence: number;
|
|
138
|
+
/** Specific coverage details */
|
|
139
|
+
coverageDetails: string;
|
|
140
|
+
}>;
|
|
141
|
+
/**
|
|
142
|
+
* Key topics extracted from the resource
|
|
143
|
+
*/
|
|
144
|
+
keyTopics: string[];
|
|
145
|
+
/**
|
|
146
|
+
* Prerequisites the resource assumes the reader has
|
|
147
|
+
*/
|
|
148
|
+
assumedPrerequisites: string[];
|
|
149
|
+
/**
|
|
150
|
+
* Learning objectives explicitly stated in the resource
|
|
151
|
+
*/
|
|
152
|
+
learningObjectives: string[];
|
|
153
|
+
/**
|
|
154
|
+
* Difficulty assessment of the resource content
|
|
155
|
+
*/
|
|
156
|
+
difficultyLevel: 'beginner' | 'intermediate' | 'advanced';
|
|
157
|
+
/**
|
|
158
|
+
* Quality assessment of the resource
|
|
159
|
+
*/
|
|
160
|
+
qualityScore?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Any warnings or notes from the analysis
|
|
163
|
+
*/
|
|
164
|
+
warnings?: string[];
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Extraction mode for the three-tier approach
|
|
168
|
+
*/
|
|
169
|
+
export type ExtractionMode =
|
|
170
|
+
/** Option 1: Extract skills only from syllabus text */
|
|
171
|
+
'skills-only'
|
|
172
|
+
/** Option 2: Extract skills + resource references mentioned in syllabus */
|
|
173
|
+
| 'with-references'
|
|
174
|
+
/** Option 3: Deep analysis - upload resources and analyze their content */
|
|
175
|
+
| 'deep-analysis';
|
|
176
|
+
/**
|
|
177
|
+
* Configuration for each extraction mode
|
|
178
|
+
*/
|
|
179
|
+
export interface ExtractionModeConfig {
|
|
180
|
+
id: ExtractionMode;
|
|
181
|
+
name: string;
|
|
182
|
+
description: string;
|
|
183
|
+
icon: string;
|
|
184
|
+
features: string[];
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Default extraction mode configurations
|
|
188
|
+
*/
|
|
189
|
+
export declare const EXTRACTION_MODES: ExtractionModeConfig[];
|
|
190
|
+
/**
|
|
191
|
+
* Detect resource type from URL or file extension
|
|
192
|
+
*/
|
|
193
|
+
export declare function detectResourceType(reference: string): ResourceType;
|
|
194
|
+
/**
|
|
195
|
+
* Get an icon for a resource type
|
|
196
|
+
*/
|
|
197
|
+
export declare function getResourceTypeIcon(type: ResourceType): string;
|
|
198
|
+
/**
|
|
199
|
+
* Get a color for a resource type
|
|
200
|
+
*/
|
|
201
|
+
export declare function getResourceTypeColor(type: ResourceType): string;
|
|
202
|
+
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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G;IACH,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAE7B;;OAEG;IACH,eAAe,EAAE,UAAU,GAAG,cAAc,GAAG,UAAU,CAAC;IAE1D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc;AACxB,uDAAuD;AACrD,aAAa;AACf,2EAA2E;GACzE,iBAAiB;AACnB,2EAA2E;GACzE,eAAe,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,cAAc,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,EAqClD,CAAC;AAEF;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY,CA8DlE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAiB9D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAiB/D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learngraph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "The world's first AI-powered learning path generator. Transform syllabi into personalized mastery paths with Zone of Proximal Development (ZPD), Bloom's Taxonomy, spaced repetition, and Bayesian Knowledge Tracing built in. Every student's path to mastery.",
|
|
5
5
|
"author": "Dr. Ernesto Lee <dr.ernesto.lee@gmail.com>",
|
|
6
6
|
"license": "Apache-2.0",
|