Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mhujer/ankiai

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anki AI - Add example sentences to your Anki notes with ChatGPT

Anki AI is a powerful tool that leverages the chat completion API from ChatGPT to generate example sentences for your Anki notes. With Anki AI, you can quickly and easily enhance your Anki notes with relevant and useful example sentences, regardless of the language you are studying.

This was originally standalone app written in TypeScript and using AnkiConnect to add example to notes. You can see the old version here.

I wrote an article about old version of Anki AI on my blog.

I created most of the plugin by prompting o3-mini-high model. Worked better than expected!

Anki AI screenshot

Depends on:

  1. Chat completion API from ChatGPT to generate sentences.

How to use

  1. Install the plugin by downloading the project and placing ankiai folder into addons21 folder in your Anki data directory
  2. Restart Anki
  3. Open "Browse" window
  4. Select Notes you want to generate Example sentences for
  5. In "Edit" menu select "Generate Example Sentences"
  6. Obtain an OpenAI API key and enter it in the respective field (needs to be done only once)
  7. Adjust the "Term" field to the field which contains your vocabulary
  8. Adjust "Target" field - generated sentences will be placed there
  9. If needed, adjust the language and level in the prompt
  10. Click "OK"
  11. Sentences will be generated
Morty Proxy This is a proxified and sanitized view of the page, visit original site.