AnkiWeb
- Rating
- 5 (π 5 Β· π 0)
- Updated
- 2024-07-11
- Anki versions
- 23.10~
- Description language
- en
AnkiWeb addon 547821970
Interacts with OpenAI inside Anki to collect note fields, send customizable multilingual prompts, and display or play audio responses.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 2.1.66 | 2023-11-30 |
| 23.10 | + | 2024-07-11 |
Loadingβ¦
Turns clipboard study material into Anki flashcards inside the Add window using your chosen AI provider, with queue review, custom note-type mapping, and card-quality prompts.
Uses an LLM to generate English concept tags from selected Anki notes and explores their connections in an interactive offline 3D knowledge graph.
Automatically generates Anki note field content using AI providers, with custom base URLs, custom model names, batch processing, prompts, and field mappings.
Embeds AI chat sites, reference engines, and customizable prompts in Anki for card queries, answer capture, and persistent logins.
Provides AI-powered semantic scoring of typed Anki answers with multilingual feedback, review suggestions, configurable prompts, and support for multiple LLM providers.
Bundles optional plugins for auto-flip, typed grading, interval display, overdue protection, audio speed, AI note-filling, and word lookup.
This add-on is actively developing. Configuration parameters may be changed when the add-on was updated, but Anki does not automatically change the old configuration.
After updating the add-on, please go to the add-on configuration page and click "Restore Defaults". Sorry for the inconvenience!
The Anki Quick AI Addon is a powerful tool that lets you interact with OpenAI in Anki. It allows you to quickly collect field values from notes, interact with OpenAI using customized prompts in multiple languages, and show and play audio responses.
Features:
Find & collect field values from Anki's notes.
Interact with OpenAI using custom prompts. Multiple interactions are supported.
Show & play audio of responses from OpenAI.
https://github.com/chuanqixu/anki-quick-ai/assets/33219261/5e71caba-b20f-41a1-beaa-63bf90f5a95a
It has been submitted to Anki add-ons Anki Quick AI. The code is 547821970.
To install it, click "Tools->Add-ons->Get Add-ons". In the Code section, input 547821970, and then click OK.
Please configure the add-on before the first time you use it.
There are several ways to run the add-on:
Click the Tools button on the menu bar in the main Anki window, and then click Anki Quick AI. Wait for seconds for AI generation and transmission between OpenAI and your local machine. If you also generate the sound, then it may take other seconds for sound generation.
In the Browse window, click the Anki Quick AI button on the menu bar.
If shortcut is set, you can use it to run the add-on. The default shortcut is Alt+A.
If automatic_display is set to be true, then the add-on will automatically run if you change to the main deck window. For example, when you finish one deck, or when you change to the deck window from the study window.
Double click "Tools->Add-ons->Anki Quick AI", and a config page will show. Some of the parameters may be effective after restarting Anki. You should add "api_key" and "model" in the "AI" tag of the config page.
Hover your mouse for tooltips of parameters in the configuration window.
For usage, you should create your default prompt settings in the "prompt" tag of the config page. The settings are the following:
#, e.x., #language#. Placeholders will be replaced before sending to OpenAI. It is designed for you to quickly change the prompt.
#field_value#: This is a keyword. This will be replaced with a list of strings, which are values of the note_field in notes searched by query.#response#: This is a keyword. This will be replaced with the previous response from OpenAI.#language#: This is a keyword. This will be replaced with language_list in the settings. See below.#custom#: You can specify your custom placeholder. This will be replaced with the value you set in placeholder, see below. Do not specify "field_value", "response", or "language" as the name, since they have their special usage.add-on/ai/provider):
provider_{provider_name}.pyfrom .provider import ProviderProvider{provider_name} and inherit from Providerget_client(); 2. __call__(); 3. get_avail_chat_model_list(). Please see example of provider_openai.pymeta.json: ai_config in the directoryadd-onadd-on/gui/provider)
ai_config_layout_{provider_name}.pyfrom .ai_config_layout import AIConfigLayoutAIConfigLayout{provider_name} and inherit from AIConfigLayoutadvanced() if neededin meta.json: ai_configadd-on/lib contains third-party libraries that are not supported by Anki. Currently, Anki add-ons require third-party libraries to be bundled with the source code.
Update third-party libraries:
cd add-on
pip install -r requirements.txt --target lib
Please find in CHANGELOG.md.
It also provides a local Python program for this in src, but this is not maintained anymore. The latest version is to use the Anki add-on.
This repository is under AGPL 3.0 required by AnkiWeb for Anki Add-on.
Thanks for the inspiration and code in yihong0618/duolingo_remember and yihong0618/shanbay_remember.
Thanks for BlueGreenMagick/ankiaddonconfig for configuration window.
Thanks for @marquiswang. It is now ported to Anki 23.10.
Thanks to @Zulivan for developing Groq and Agentic behaviors.