Bỏ qua đến nội dung

LLM Card Fill

Chờ xử lý #anki #addon #llm #card #fill
https://github.com/Rizhiy/anki-llm-card-fill/issues
2/9/2025

Cách tải addon LLM Card Fill

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

2043082246

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 2043082246 và copy

1
1

Mô tả chi tiết

Anki LLM Card Fill Example usage

This addon can query an LLM API with the prompt you specify, and update the fields based on the generated response.

Addon can be configured using “LLM Card Fill” menu in the main bar.

To use it you will need to get an API key from one of the model providers. Currently Anthropic and OpenAI are supported. Link to where to get the key is included next to the key field.

Example prompt I use for generating Japanese sentences:

Given the card with fields:

Word Hint Hint translation

Prompt:

I’m learning Japanese and I want you to help me by writing example sentence for word “{Word}”. Please put furigana after every kanji in square brackets like so: 読[よ]む Also, put a space before every kanji. Do not put a space before words that do not require furigana. Here is an example of correctly formatted sentence: 日本[にほん]では 食事[しょくじ]の 後[あと]にお 茶[ちゃ]を 飲[の]むことが 多[おお]いです。

Field Descriptions:

Hint: An example sentence using the word in Japanese Hint translation: English translation of the example sentence

After saving the configuration, you can use the shortcut (Ctrl+A by default) or option in the submenu to update the card once it comes up for review. You can also update the note from editor window using the “LLM” button or update multiple notes at once using the right-click menu.

To debug your prompt you can select an example card to see what exactly will be sent to the LLM. You can also make the request and see response using Debug Dialog.

Supports configurations for multiple note types Supports creating cards from input Differences from other addons

This addon is simpler than existing alternatives, but has the following advantages:

AnkiBrain - No external dependencies, can use your own keys, without installing stuff separately. SmartNotes - Can use your own API keys


Liên kết hỗ trợ


Reviews (2)

👍 2025-08-25

I set up a template that worked great in all tests. Then tried to run the process over 1000 cards and it timed out and sent too many requests at once. Do not use as a bulk editor until this is fixed. The author should be aware of the limits in place by the providers and not exceed them.

👍 2025-06-25

Thumbs up for the excellent concept! However, I am unable to use the add-on. After installing and restarting Anki, when I go to LLM Card Fill -> Configure LLM Card Fill, I am greeted with the error: “Anki encountered a problem” (details are below). I have configured the add-on parameters via the Anki add-on manager. Any help would be greatly appreciated.

Traceback (most recent call last): File “C:\Users<username>\AppData\Roaming\Anki2\addons21\2043082246\config.py”, line 1102, in open_confi