|
|
|
|
|
by andy12_
397 days ago
|
|
I haven't tried many variations yet because a basic prompt seems to work well, thought it is important to remind Gemini of not using ";" inside the text of the cards if you use it as a separator. I imagine that with better prompts you could get it to generate very nice flash cards, but I'm in a little tight schedule, so I can't play around it for too long. Another nicer option I think would be using the structured output of the API to generate the cards in JSON format, and the parse it to the Anki format with a script, but I think this approach is fine for me. The prompt I'm using is this --- Using the information in these PDFs, make some Anki cards to study for an exam. The format for Anki cards is ``` front1;back1 front2;back2 front3;back3 ``` Remember that you can't use ";" inside a field because it is used to separate the front and back of a card. If the back of a card is a list of elements, prefer to use "<br>" to specify a newline. |
|