AnkiWeb
- Rating
- 1 (👍 0 · 👎 1)
- Updated
- 2026-04-26
- Anki versions
- 25.07.5~
- Description language
- en
AnkiWeb addon 1466614056
Adds AI chat to Anki cards, answers questions, saves conversations to cards, and supports OpenAI plus Claude Code and Codex CLI providers.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 25.07.5+ | 2026-04-26 |
Loading…
Embeds AI chat, per-card notes, and color highlights directly into Anki card reviews, supporting OpenAI-compatible APIs with streaming Markdown responses.
Generates multiple-choice pop quizzes from recent review batches every 20 cards using Codex, with configurable questions, sign-in, local scores, and privacy controls.
Adds a review-aware AI chat assistant beside Anki for explaining cards, searching collections, inspecting study history, and reviewing proposed changes before applying.
Adds an AI chat side panel to Anki for card help, note generation, flashcard creation, voice Q&A, and customizable themes, using your own API key privately.
Analyzes review history to rank weak topics, creates filtered drills, and uses Claude for quizzes, notes, and chat.
Captures missed QBank questions, uses AI to find and re-rate matching cards as Again, then supports gap-based browsing and card creation.
一个为Anki卡片提供AI聊天功能的插件,使用OpenAI API帮助用户更好地理解和学习卡片内容。
pip install openai
{
"openai_api_key": "your-actual-api-key-here",
"openai_model": "gpt-3.5-turbo",
"max_tokens": 500,
"temperature": 0.7
}
请求解释:
记忆技巧:
深入学习:
openai_api_key: OpenAI API密钥openai_model: 使用的模型 (推荐: gpt-3.5-turbo)max_tokens: 最大回复长度 (默认: 500)temperature: 创造性程度 (0-1, 默认: 0.7)chat_window_width: 聊天窗口宽度 (默认: 600)chat_window_height: 聊天窗口高度 (默认: 400)save_conversations: 是否允许保存对话 (默认: true)debug_mode: 调试模式 (默认: false)anki-ai-chat/
├── __init__.py # 插件入口
├── config.py # 配置管理
├── manifest.json # 插件清单
├── ui/ # 用户界面
│ ├── chat_dialog.py # 聊天窗口
│ └── button_injector.py # 按钮注入
├── services/ # 核心服务
│ ├── openai_service.py # OpenAI API
│ └── card_service.py # 卡片操作
└── utils/ # 工具函数
└── helpers.py
python3 run_tests.py
Q: 按钮没有出现 A: 检查插件是否正确安装并启用,重启Anki后再试
Q: AI不回复 A: 检查API密钥是否正确配置,网络连接是否正常
Q: 对话保存失败 A: 确保当前有打开的卡片,检查卡片格式是否支持
Q: 界面显示异常 A: 检查PyQt版本兼容性,尝试重启Anki
插件会记录错误信息到Anki日志中,可以通过以下方式查看:
"debug_mode": true本项目采用MIT许可证。
欢迎提交问题报告和功能请求!
UX 重做与稳定性修复。
新功能
__init__.py)initial_message 构造参数,配合 QTimer.singleShot 在事件循环开始后异步发送(ui/chat_dialog.py)chat_with_card:<encoded>,旧的 ask_ai 仍保留以兼容旧缓存 HTMLUX 改进
[输入框] [Send] [Save to Card],移除 Clear Chat / Close 按钮Bug 修复
<div align="right"> 的解析会继承前序 cursor 块格式,改为 <table width="100%"><td align="right"> 强制独立 blocktheme.message_html,夜间模式下不再出现写死的浅色视觉系统
#0078d4,hover #106ebe),代替之前的橙调ui/theme.py 作为单一来源,支持 Anki 夜间模式自动切换调色板mistune 3.2.0、requests 2.33.1如果遇到问题或需要帮助,请:
注意: 使用本插件需要OpenAI API密钥,可能产生API调用费用。请合理使用。