Overview
Generates study flashcards as structured rows, then computes a study plan from them: no repeated questions, categories interleaved, and a review schedule per card.
- Inputs -
topic(nodetool.input.StringInput) andnum_cards(nodetool.input.IntegerInput, 3 to 15, default 5). - Prompt (
nodetool.text.Prompt) - Fills{{TOPIC}}and{{NUM_CARDS}}into the card-writing instructions. - DataGenerator (
nodetool.generators.DataGenerator) - Returns rows withfront,back, andcategorycolumns. Thedataframeoutput goes to theFlashcardsoutput and to the next step. - Code (
nodetool.code.Code) - Drops repeated questions, deals one card from each category in turn, and assigns each cardreview_after_daysof[0, 2, 5]. - Outputs -
Flashcardsandstudy_plan.
Demo
Tags
education, structured-data, ai, flashcards, learning
Workflow Diagram
graph TD
topic["StringInput (topic)"]
count["IntegerInput (num_cards)"]
prompt["Prompt"]
generator["DataGenerator"]
plan["Code (study plan)"]
cards["Output (Flashcards)"]
planOut["Output (study_plan)"]
topic -->|TOPIC| prompt
count -->|NUM_CARDS| prompt
prompt --> generator
generator -->|dataframe| cards
generator -->|dataframe| plan
plan -->|study_plan| planOut