scholarsome icon indicating copy to clipboard operation
scholarsome copied to clipboard

Automatic flashcard generation

Open vasnt opened this issue 1 year ago • 3 comments

would love if AI feature like Automatic flashcard generation, labelling cards can be added.

vasnt avatar Jun 24 '23 17:06 vasnt

Could you elaborate on what you mean by this?

hwgilbert16 avatar Jul 07 '23 19:07 hwgilbert16

Automatic Flashcards generation

  • Based on given topic (e.g. name of capitals, rivers...) & with help of AI tech, flashcards are generated automatically.
  • User inputs blog/essay/document (external source), & with help of AI tech, flashcards are generated automatically from given content.

Refer below link for automatic labelling

  • https://www.napkin.one/

vasnt avatar Jul 08 '23 02:07 vasnt

Ok so obviously this isn't automatic, but you can kinda achieve this already with ChatGPT or any other general LLM (Bing, or there are also open source ones you can use if you have the necessary gpu). I have only tested with ChatGPT 3.5.

  1. login to chatgpt (there's a free version!) or whatever LLM
  2. prompt: Can you give me flashcards term-definitons of the following text: [then newline and insert your text]
  3. alternatively if it's based on topic, be like can you give me flashcards summarizing this topic
  4. wait for it to spit it out, it'll probably give it in an non-ideal format for importing
  5. prompt: now instead of using numbers a bullet points, use the following format: {newline here} term: [insert term] definition: [insert definition]
  6. Copy paste into your favorite word processor (LibreOffice Writer, Google Docs, Word, etc...)
  7. Ctrl-H to find and replace. Copy the - **Term**: and replace with ;
  8. Copy - **Definition**: and replace with tab if you can, or else you might have to manually replace this.
  9. cleanup any new lines
  10. make sure there is no semicolon at the beginning, and there is one at the end
  11. copy and import into scholarsome
  12. If it fails, split it up, copying only certain sections to diagnose what is going on. Watch out for bug #75 . Refresh the page if you encounter this bug.

Hope this works for you! I imagine the quizletAI thing and all these other services that use AI to generate flashcards really actually just use ChatGPT behind the curtain, with some prompts and maybe some small scripts.

RannyBergamotte avatar Dec 06 '23 18:12 RannyBergamotte