Copilot, Obsidian 이용해서 Anki cards 만들기

알림
|
X

페이지 정보

작성자 no_profile gaguri 115.♡.146.47
작성일 2024.06.30 09:04
224 조회
1 추천
글쓰기

본문

매일 눈팅하고 얻어가기만 하다가, 미안한 마음에 뭔가 허접한 것이라도 하나 올려야 겠다는 생각에… 그런데, 어떻게 글을 작성해야 할지 몰라서 헤매고 있습니다.

글을 읽거나 새 플러그인 설명서를 보거나 또는 웹 서핑 중에 좋은 글,  모르는 표현법 등을 모아서 옵시디언 노트에 적어 놓고 있습니다.  주로, 주말에 이 노트를 다시 확인하고, 필요한 것은 cloze 형식으로 anki 로 넘기는데요.


웹서핑을 하다가 보니, AI를 활용해서 anki card 쉽게 만드는 글들이 제법 있더군요

그래서 따라해 봤습니다.

물론 처음엔 결과물이 이상해서, 프롬프트 수정 과정을 거쳐가며 어느 정도 골격은 잡았지만 질문 수준은 여전히 만족스럽진 않습니다. Copilot 무료 버전을 사용했고, 옵시디언과의 연계를 위해서 최종 결과를 cloze 타입 Q & A 형식으로 나오게 했습니다.

물론 표 형식으로 결과를 받으면, 엑셀에 넘겨서 조금 셀 조정 한다음 csv 파일로 저장하고, anki에서 불러 들일 수 있지만, 저는 옵시디언에 남겨두고, 다음에 검색 데이터로 사용하고 싶었습니다.

아래는 Copilot에서 anki cards 만드는 과정을 간단히 캡쳐한 이미지입니다

참조한 곳:  ​https://www.reddit.com/r/Anki/comments/11cgw1j/casting_a_spell_on_chatgpt_let_it_write_anki/

이어서 지시사항을 붙였습니다.  레딧에서 가져온 내용을 조금 수정했습니다. copilot에게 지시사항 이해했으면 OK 하라고 했더니, ^^ OK 합니다

Instructions to create a deck of flashcards:

- Keep the flashcards simple, clear, and focused on the most important information.
- Make sure the questions are specific and unambiguous.
- Use simple and direct language to make the cards easy to read and understand.
- Answers should contain only a single key fact/name/concept/term.
Let's do it step by step when creating a deck of flashcards:
1. Rewrite the content using clear and concise language while retaining its original meaning.
2. Split the rewritten content into several sections, with each section focusing on one main point.
3. Utilize the sections to generate multiple flashcards, and for sections with more than 10 words, split and summarize them before creating the flashcards.


If I give these "Text" input like right below


Text: The characteristics of the Dead Sea: Salt lake located on the border between Israel and Jordan. Its shoreline is the lowest point on the Earth's surface, averaging 396 m below sea level. It is 74 km long. It is seven times as salty (30% by volume) as the ocean. Its density keeps swimmers afloat. Only simple organisms can live in its saline waters.


You should give specially formatted output.

The answers should be like "A: {{c1::answer}}" so, Please use the following format "A: {{c1::enter text here}}" and it must be at the next line. It's important! please keep the below sample format(here, the contents are just example, focus on format)

Q: What electrical changes are associated with muscle contraction?

A: {{c1::Depolarization}}

Q: How can depolarization be detected?

A: {{c1::By electrodes attached to the surface of the body}}


until now, You understand? If that so. just say "OK";


**Copilot**
OK

**나**

here is my Text:
[START Review]

이 부분에 예시로 Smart connections 플러그인 설명하는 블로그 글 복사 붙여 넣었음

[END Review]


코파일럿이 열심히 답을 줍니다

Step 1: Rewrite the content using clear and concise language

블라블라블라

Step 2: Split the rewritten content into several sections

블라블라블라

Step 3: Generate flashcards from the sections


그런데 Step 3의 결과 형식이 (내용은 별개로 치고) 원하는 것과 좀 달라서 Step 3 부분만 수정 요청했습니다.


**나**
It's not what I wanted. You should keep below output format. Question line and the next line Answer. like below example. Try the step 3 part with below format

Q: What is Smart Connections?
A: {{c1::An AI-powered plugin for Obsidian}}
Q: What does Smart Connections use to understand your notes?
A: {{c1::Natural language processing and artificial intelligence}}


**Copilot**

Got it! Here are the flashcards in the correct format:

Q: What is Smart Connections?
A: {{c1::An AI-powered plugin for Obsidian}}

Q: What does Smart Connections use to understand your notes?
A: {{c1::Natural language processing and artificial intelligence}}


바로 수정을 해 주더군요.

문제를 5개 더 만들어 달라고 요청해 봤더니, 바로 수정된 결과 양식에 따라서 5개 만들어 주더군요



could you make some more cards maybe 5?


**Copilot**

Of course! Here are 5 more flashcards:

Q: What problem does Smart Connections aim to solve?
A: {{c1::Difficulty in finding relevant notes quickly}}

Q: What inspired the real-time display feature in Smart Connections?
A: {{c1::The ‘Similar mems’ feature from Mem.ai}}


그런데, anki 카드로 쓰기에는 답이 조금 길다는 생각이 들어서, 답이 2~3개 단어로 짧은 형식으로 만들어 달라고 요청해 봤습니다.



I wish the answers were simpler with 2~3 words.


**Copilot**

No problem! Here are the flashcards with answers simplified to 2-3 words:

Q: What is Smart Connections?
A: {{c1::AI plugin}}

Q: What does Smart Connections use to understand your notes?
A: {{c1::AI, NLP}}

Q: What is one key feature of Smart Connections?
A: {{c1::Real-time display}}

Q: What does the "Highlight to Find Smart Connections" feature do?
A: {{c1::Shows related notes}}


copilot 무료 버전이라서 pdf 등 파일을 직접 올리면 안되더군요. 유료 버전이라면 오피스 파일, pdf 등 직접 올려서 작업 가능하다고 합니다.

답변 내용을 너무 짧게 하라고 요청했더니, 실제로 anki에서 문제 풀때 답을 유추해 내기가 어렵네요


댓글 0
글쓰기
홈으로 전체메뉴 마이메뉴 새글/새댓글
전체 검색