Add knowledge graph with entity extraction#67
Open
nymulinfoinlet wants to merge 2 commits intomainfrom
Open
Conversation
Add StudyPlannerService with upcoming reviews, daily plan, exam dates, study streak heatmap, and iCal export. Includes migration for the study_set_exam_dates table. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Implements AI-powered entity extraction and relationship mapping from study materials. Entities (concepts, people, dates, formulas, definitions, events) are extracted via LLM prompts and stored in knowledge_entities/knowledge_relationships tables. Supports cross-study-set graph merging with entity deduplication. Closes #56 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
knowledge-graphmodule with AI-powered entity extraction from study set content (flashcards, notes, descriptions)knowledge_entitiesandknowledge_relationshipstables on startupEndpoints
POST /knowledge-graph/:studySetId/extract— trigger extractionGET /knowledge-graph/:studySetId— get graph (nodes + edges)GET /knowledge-graph/:studySetId/entities— list entitiesGET /knowledge-graph/entity/:id— entity detail with relationshipsPOST /knowledge-graph/merge— merge graphs across study setsTest plan
tsc --noEmitpasses with 0 errorsGET /knowledge-graph/:idreturns correct nodes and edgesCloses #56
🤖 Generated with Claude Code