IntelliFiller ChatGPT addon

@noahzs Thank you for your continued maintenance of the addon. I’m encountering a problem when installing the addon from GitHub. After running build_release.py to install dependencies and then installing the plugin, I receive the following error message:

Traceback (most recent call last):
  File "aqt.addons", line 250, in loadAddons
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\__init__.py", line 11, in <module>
    from .process_notes import process_notes, generate_for_single_note
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\process_notes.py", line 6, in <module>
    from .data_request import create_prompt, send_prompt_to_llm
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\data_request.py", line 27, in <module>
    import openai
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\openai\__init__.py", line 8, in <module>
    from . import types
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\openai\types\__init__.py", line 5, in <module>
    from .batch import Batch as Batch
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\openai\types\batch.py", line 7, in <module>
    from ..models import BaseModel
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\openai\_models.py", line 24, in <module>
    from pydantic.fields import FieldInfo
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\pydantic\fields.py", line 17, in <module>
    from pydantic_core import PydanticUndefined
  File "C:\Users\Users\AppData\Roaming\Anki2\addons21\IntelliFiller\vendor\win32\pydantic_core\__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

I’m using Windows 10. I’ve confirmed that both pydantic_core and pydantic_core.cp312-win_amd64.pyd exist in the vendor directory. Could you please help me determine what might be causing this issue? Thank you!

Finally updated the plugin to support the latest anki and new neural networks

Hello,
At Anki startup “The following add-ons failed to load: * IntelliFiller ChatGPT⁩”

Is a new update needed or did do something wrong please ?

Many thanks for this addon, it helped me tremendously !

Error :
AttributeError: module ‘typing_extensions’ has no attribute ‘file

What version of Anki are you using? Go to Help > About (or on the error message) – click “Copy Debug Info” – paste that whole result here.

Anki 25.02.4 (a5c33ad0) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.19045

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Advanced Browser [‘874215009’, 2024-10-27T10:20, ‘None’, ‘’]
Advanced Copy Fields Qt6 [‘287110490’, 2023-11-10T13:52, ‘None’, ‘’]
Advanced Copy Fields [‘1898445115’, 2024-01-08T13:01, ‘v0.4.01’, ‘’]
Anki Image Search v2 Addon [‘432495333’, 2022-08-21T05:30, ‘None’, mod]
Anki Simulator [‘817108664’, 2023-11-06T13:26, ‘None’, ‘’]
AnkiConnect [‘2055492159’, 2025-02-25T18:57, ‘None’, ‘’]
Chinese Pinyin Translator Zhuyin Bopomofo Gwoyeu Romatzyh [‘1792056402’, 2018-11-08T23:27, ‘None’, mod]
Chinese Support 3 [‘1752008591’, 2024-02-25T05:37, ‘None’, mod]
Create subs2srs cards with mpv video player [‘1213145732’, 2025-05-13T05:24, ‘None’, ‘’]
DeepL Translator [‘972129549’, 2024-04-26T16:11, ‘1.0.0’, mod]
Google Translate [‘1536291224’, 2025-02-12T17:57, ‘None’, mod]
IntelliFiller ChatGPT [‘1416178071’, 2025-03-08T22:17, ‘2.1.0’, mod]
Merge Duplicate Notes [‘55394168’, 2024-01-19T11:16, ‘None’, ‘’]
Remove card history [‘2089200096’, 2023-10-18T23:15, ‘None’, ‘’]
Reset review log [‘1345711295’, 2020-06-05T03:03, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T21:43, ‘None’, ‘’]
Sentence adder for any language with batch add option [‘1682655437’, 2024-06-25T11:53, ‘None’, ‘’]
Set Card Ease [‘1387847178’, 2022-12-26T04:44, ‘None’, mod]
Set Font Size [‘651521808’, 2025-05-01T21:54, ‘None’, mod]
Write on your screen [‘567651868’, 2024-02-04T03:24, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1213145732 1345711295 1387847178 1416178071 1536291224 1682655437 1752008591 1771074083 1792056402 1898445115 2055492159 2089200096 287110490 432495333 55394168 567651868 651521808 817108664 874215009 972129549

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add note id [‘1672832404’, 2020-12-06T06:44, ‘None’, ‘’]
Anki Terminator V2 - ChatGPT DeepSeek Sidebar for Reviewer Created by Shige [‘1468920185’, 2025-03-25T14:49, ‘None’, mod]
Batch Remove Formatting eg bold italics etc [‘1734822644’, 2018-09-24T11:34, ‘None’, ‘’]
Chinese Support Redux v0142 [‘1128979221’, 2021-03-28T22:19, ‘None’, mod]

Thanks! Hopefully that will help the dev determine whether the recent security updates are causing issues.

Anki 25.02.4 (a5c33ad0)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.6.1-arm64-arm-64bit

When loading IntelliFiller ChatGPT:
Traceback (most recent call last):
  File "aqt.addons", line 250, in loadAddons
  File "/Users/user/Library/Application Support/Anki2/addons21/1416178071/__init__.py", line 29, in <module>
    print("✅ Loaded typing_extensions from:", typing_extensions.__file__)
AttributeError: module 'typing_extensions' has no attribute '__file__'




After clicking button on new card dialog I get:

Anki 24.11 (87ccd24e) (src) (ao)
Python 3.9.23 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100-SP0

Traceback (most recent call last):
File “C:\Users\jacek\AppData\Roaming\Anki2\addons21\1416178071_init_.py”, line 100, in 
action.triggered.connect(lambda , p=prompt: create_run_prompt_dialog_from_editor(editor, p))
File "C:\Users\jacek\AppData\Roaming\Anki2\addons21\1416178071_init.py", line 76, in create_run_prompt_dialog_from_editor
handle_edit_current_mode(editor, prompt_config)
File “C:\Users\jacek\AppData\Roaming\Anki2\addons21\1416178071_init_.py”, line 35, in handle_edit_current_mode
common_fields = get_common_fields([editor.note.id])
File “C:\Users\jacek\AppData\Roaming\Anki2\addons21\1416178071_init_.py”, line 42, in get_common_fields
common_fields = set(mw.col.getNote(selected_nodes_ids[0]).keys())
File “C:\Users\jacek\AppData\Local\AnkiProgramFiles.venv\lib\site-packages\anki\collection.py”, line 496, in get_note
return Note(self, id=id)
File “C:\Users\jacek\AppData\Local\AnkiProgramFiles.venv\lib\site-packages\anki\notes.py”, line 53, in init
self._load_from_backend_note(self.col._backend.new_note(notetype_id))
File “C:\Users\jacek\AppData\Local\AnkiProgramFiles.venv\lib\site-packages\anki_backend_generated.py”, line 1280, in new_note
raw_bytes = self._run_command(23, 0, message.SerializeToString())
File “C:\Users\jacek\AppData\Local\AnkiProgramFiles.venv\lib\site-packages\anki_backend.py”, line 172, in _run_command
raise backend_exception_to_pylib(err)
anki.errors.NotFoundError: Baza danych jest niespójna. Użyj funkcji Sprawdź bazę danych. No such notetype>: ‘0’

Hi everyone,

I wanted to share that I have created a fork of the IntelliFiller add-on with significant improvements to both functionality and the user interface.

You can download and test it here:
AnkiWeb: https://ankiweb.net/shared/info/1149226090
GitHub: https://github.com/voothi/20251206123938-intellifiller-ai-addon-for-anki

Key improvements include:

  • Expanded Model Support: Added support for additional cloud providers and Local Models via OpenAI Compatible API (e.g., running with Ollama).

  • Advanced Workflows: Introduced Pipelines for chaining tasks.

  • Multi-Field Support: Added JSON parsing to fill multiple fields in a single pass.

  • UI/UX: Completely redesigned interfaces for better usability.

  • Stability: Improved performance on unstable/poor internet connections and added configurable delays to prevent provider bans (rate limiting).

  • Maintenance: Added a backup system and fixed the issue where the add-on couldn’t be updated from Anki while active.

  • Technical: Improved project structure and added a build script to automatically generate the .ankiaddon package.

I invite you to test it out and share your feedback!

hello,the new version couldn’t enter it,although I tried your way,something was same.

:rocket: IntelliFiller v2.24.0: Anki 25 Support, Ollama Integration, and Smart Batch Retry!

Hi everyone,

I’m excited to announce the release of v2.24.0 of the enhanced IntelliFiller AI add-on (AnkiWeb ID: 1149226090).

This version brings official compatibility with the upcoming Anki 25 release, full support for local Ollama and Ollama Cloud models, and several powerful batch-processing improvements.

Here is a summary of what’s new:

:llama: Ollama & Ollama Cloud Support

You can now run completely free, private local language models (like llama3, mistral, or phi3) or connect to Ollama Cloud!

  • Local Ollama: Configurable endpoint (defaults to http://localhost:11434/api/generate) and target model.
  • Ollama Cloud: Direct support for https://ollama.com/v1 using your cloud API key.

:glowing_star: Anki 25 Compatibility

  • Future-proofed for the next-gen Anki 25 release (validated on Anki 25.09.4 with Python 3.13.5 and Qt 6.9.1).
  • Internal packaging improvements now resolve Python 3.13 wheel selection correctly on Windows, macOS (Intel/Apple Silicon), and Linux.

:bar_chart: Tabbed Processing Summary & Selective Retry

  • When processing notes in batch, you are now presented with a detailed, tabbed summary dialog listing Successful, Skipped, JSON Failures, and Network Failures cards.
  • Retry Selected: You can select specific failed cards directly in the tabbed dialog and queue them up for a retry without reprocessing the entire batch! (Ported from a contribution by emilythedev)

:high_voltage: Recent Quality of Life Highlights (In case you missed them!)

  • Connection Watchdog: Detects if a network request has silently stalled or hung and automatically attempts to resume.
  • Smart Queueing & Pause/Resume: Queue up multiple batch runs sequentially. Pause mid-run, inspect/edit cards, and resume cleanly.
  • Encrypted Backups: Automatic AES-256 password-protected backups of your prompts and configurations.
  • Multi-Field JSON Mapping: Prompt the AI to return structured JSON and populate multiple note fields simultaneously in a single API call.

:warning: IMPORTANT: Upgrading on Windows (v2.22.12 or older → v2.24.0)

If you are upgrading from v2.22.12 or older on Windows, you will likely encounter a PermissionError: [WinError 5] Access is denied due to file locking on native cryptodome libraries (_Salsa20.pyd).

To upgrade cleanly, please use one of these methods:

Method 1: Via Anki’s UI (Recommended)

  1. Go to ToolsAdd-ons.
  2. Select IntelliFiller and click Toggle Enabled (disabling the add-on).
  3. Restart Anki (this releases the file locks).
  4. Go to ToolsAdd-onsCheck for Updates (or Install from file… using the new .ankiaddon package).
  5. Select IntelliFiller, click Toggle Enabled to re-enable it, and Restart Anki.

Method 2: Manual Update

  1. Close Anki completely.
  2. Go to your Anki addons directory (usually AppData\Roaming\Anki2\addons21\).
  3. Delete the folder named 1149226090.
  4. Open Anki and install it fresh.

Note: Once you are on v2.24.0, all future updates will install automatically and seamlessly without any manual restarts or disabling, thanks to a reworked startup routine that prevents native binary locks.


:inbox_tray: How to Install / Get the Update

Feel free to report any bugs or suggestions on the GitHub repository or discuss them here. Happy learning!

Anki 25.09.4 (d52ca669) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-26.5.2-arm64-arm-64bit-Mach-O

When loading IntelliFiller ChatGPT:
Traceback (most recent call last):
File “/Users/hannahallen/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/addons.py”, line 250, in loadAddons
import(addon.dir_name)
~~~~~~~~~~^^^^^^^^^^^^^^^^
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/init.py”, line 13, in
from .process_notes import process_notes, generate_for_single_note
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/process_notes.py”, line 6, in
from .data_request import create_prompt, send_prompt_to_llm
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/data_request.py”, line 28, in
import openai
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/openai/init.py”, line 8, in
from . import types
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/openai/types/init.py”, line 5, in
from .batch import Batch as Batch
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/openai/types/batch.py”, line 6, in
from .._models import BaseModel
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/openai/_models.py”, line 24, in
from pydantic.fields import FieldInfo
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/pydantic/fields.py”, line 17, in
from pydantic_core import PydanticUndefined
File “/Users/hannahallen/Library/Application Support/Anki2/addons21/1416178071/vendor/darwin_arm64/pydantic_core/init.py”, line 6, in
from ._pydantic_core import (
…<22 lines>…
)
ModuleNotFoundError: No module named ‘pydantic_core._pydantic_core’