crybot8k downloadsUse Large Language Models (such as ChatGPT) to automatically generate flashcards from your notes.
This plugin integrates Large Language Models with Obsidian to help you generate flashcards from your notes. By leveraging OpenAI's models, such as GPT-3.5 and GPT-4, you can streamline your study process directly within Obsidian.
gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano o1, o1-mini, o3-mini, o4-mini Save scheduling comment on the same line as the flashcard's last line to on in
the Spaced Repetition plugin as well, in order not to break the blockquote formatting.Generate flashcards with new settings commandCheck out this demo to see the plugin in action:

You can also specify new settings on the fly with the Generate flashcards with new settings command:

Try Obsidian Flashcards LLM and transform your notes into a structured study tool. Contributions, feedback, and suggestions are always welcome!
Follow this quickstart guide to setup your OpenAI api key.
Then open the settings and paste your key in the OpenAI API key field.
From within any open note you can run one of the following commands:
Generate Inline FlashcardsGenerate Multiline Flashcards
which will generate the designated number of flashcards with the required format.
If visually you select a portion of your note before running the command, the
model will only use that selection as context, otherwise, the whole text is used.
Unless you see an error on screen, your flashcards should start appearing in a stream-like fashion
at the end of your note soon enough.
Please note that multi-line flashcard generation sometimes does not work. Consider
using gpt-4o or gpt-4-turbo for better results.Generate flashcards with new settings which lets
you transiantly customize the settings on the fly by specifying a custom prompt,
the number of flashcards to generate and whether they have to be multiline.I suggest using gpt-4o for most use cases because it's fast and cheap. For
simple flashcards you can try using gpt-3.5-turbo, but it may sometimes get the formatting wrong.
For more complex cards that require long answers (for example, long mathematical derivations),
I suggest using gpt-4-turbo, which is much slower, but tends to follow more closely
the instructions provided in the Additional prompt setting.
If you find this plugin helpful and want to support its development, consider donating: