LexiSage - Anki智能释义插件

AnkiWeb addon 750479332

Generates AI-powered, context-aware word and phrase definitions in Anki via OpenAI, XAI, or DeepSeek, supporting batch processing, customizable prompts, multiple note-type field configurations, and user-supplied API keys.
AI-generated summary; may contain mistakes.

card-creationaidictionary

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
4 (👍 4 · 👎 0)
Updated
2026-01-13
Anki versions
25.09~
License
GPL-3.0 (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
zh

Maintenance

stale

  • Last update or commit: 2026-01-13 (292 days before the snapshot).
  • GitHub Actions workflows: 1.
  • Commits in the last year: 2.
  • Issues: 3 open, 6 closed.
  • Pull requests: 0 open, 1 merged.
  • Median first response: 262 hours (6 answered issues and pull requests).
  • Outside pull requests: 100% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.4425.09+2026-01-13
History across monthly snapshots

Loading…

Similar addons

AI Language Explainer

Generates contextual written explanations and spoken audio for target words in sentence cards using OpenAI models and selectable TTS engines, with one-click or batch processing.

card-creationaisync-integrationdictionary

10 votes 72% approval 👍 10 · 👎 0 ⭐ 9 Anki 2.1.66~ Updated 2025-10-07
MnemoMaker: Language Learning Accelerator

Automatically creates formatted vocabulary flashcards with Cambridge Dictionary definitions, examples, translations, pronunciation, and AI-generated mnemonics in multiple language pairs.

card-creationaidictionary

6 votes 19% approval 👍 3 · 👎 3 ⭐ 2 Anki 25.02.5~ Updated 2025-08-15
AI Context Helper

Generates AI-powered example sentences, explanations, collocations, and usage context for vocabulary, then turns that content into Anki notes via a floating window and context menu.

card-creationaidictionary

3 votes 44% approval 👍 3 · 👎 0 Anki 24.06.3~ Updated 2025-01-01
OmniPrompt-Anki

Generates AI-powered flashcard content such as definitions, translations, and explanations from multiple cloud or local providers, with reusable prompts, batch processing, and multi-field output.

card-creationainote-managementformattingshortcuts

7 votes 65% approval 👍 7 · 👎 0 ⭐ 9 Anki 2.1.66~ Updated 2026-04-23

Description

LexiSage - Anki智能释义插件

HomePage | Github

LexiSage是一款为Anki设计的智能释义插件,支持调用多种AI接口(OpenAI、XAI、DeepSeek)对选定字段进行解释,特别适合语言学习者。

主要功能

  • 自动解析词语含义和用法
  • 支持根据上下文解释单词
  • 批量处理功能,提高学习效率
  • 可自定义系统提示词
  • 支持多笔记类型配置
  • 支持多种AI服务,需自备 API Key

使用说明

  1. 打开设置,配置AI服务和API密钥
  2. 添加需要处理的笔记类型配置
  3. 批量生成释义:在浏览器中选择多条笔记,然后点击LexiSage菜单中的"批量生成释义"

隐私说明

此插件会将您的卡片内容发送到您配置的AI服务,请确保您了解相关隐私政策。API密钥仅存储在本地配置文件中,不会被上传。

LexiSage - AI Definition Generator for Anki

LexiSage is an intelligent definition generator plugin for Anki designed for language learners. It leverages various AI services (OpenAI, XAI, DeepSeek) to generate detailed explanations of words and phrases in your flashcards.

Key Features

  • Automatic analysis of word meanings and usage
  • Context-aware explanations when context is provided
  • Batch processing capability for efficient learning
  • Customizable system prompts for different scenarios
  • Support for multiple note type configurations
  • Support for various AI services (requires your own API Keys)

How to Use

  1. Open Settings and configure your preferred AI service and API key
  2. Add note type configurations for the cards you want to process
  3. Batch definition generation: Select multiple notes in the browser, then click "Generate Definitions" in the LexiSage menu

Privacy Notice

This plugin sends your card content to the AI service you configure. Please ensure you understand the privacy policies of these services. API keys are stored only in your local configuration file and are not uploaded elsewhere.

README

LexiSage - Anki智能释义插件

English | 中文

LexiSage – 让你的卡片清晰而智慧地表达

📖 项目简介

LexiSage 是一款为 Anki 设计的智能释义插件,支持调用多种 AI 接口(OpenAI、XAI、DeepSeek)对选定字段进行解释,特别适合语言学习者。

✨ 主要功能

  • 自动解析词语含义和用法:AI 智能分析单词/短语的核心含义
  • 上下文感知解释:根据例句上下文提供精准释义
  • 高效批量处理:一次处理多张卡片字段,提升学习效率
  • 多 AI 服务支持:支持 OpenAI、XAI、DeepSeek(需自备 API Key)
  • 多字段独立配置:每个目标字段可设置专属 AI 指令

📦 安装说明

简单安装步骤

  1. 在 Anki 中,点击顶部菜单栏的 工具 → 插件
  2. 点击 获取插件... 按钮
  3. 输入插件代码:750479332
  4. 点击 确定 并重启 Anki

🚀 快速开始指南

第一步:AI 服务配置(首次使用必做)

1. 打开设置界面

  • 在 Anki 主界面,点击顶部菜单栏的 工具 (Tools) → LexiSage 设置...

LexiSage 设置入口

2. 配置 AI 服务

  • 点击顶部的 3. AI 服务设置 标签页
  • 选择你的服务商:

3. 填写 API 信息

  • Base URL:通常使用默认值即可
  • API Key:输入你的服务商 API 密钥(仅保存在本地)
  • 模型选择:根据需要选择合适的模型
  • 高级设置:可开启“多线程并发”加速批量生成

AI 服务设置界面

4. 保存配置

  • 点击底部的 保存配置 按钮

⚠️ 重要提示:插件本身不提供 AI 服务,需要用户自行购买 AI 服务商的 API Key。请确保选择正确的服务商并填写有效的 API Key。


第二步:笔记类型与字段映射配置(核心功能)

1. 添加笔记类型

  • 切换到 1. 笔记类型设置 标签页
  • 在左侧下拉框中找到你的卡片模板(如 LexiSage Master 或 Basic)
  • 点击 ↓ 添加到配置列表 按钮

2. 配置源字段

  • 在右侧面板中,选择 来源单词字段(告诉 AI 要解释哪个词,如 Word)
  • (推荐)选择 来源上下文字段(如 Context),让 AI 根据例句精准释义

3. 配置目标字段(多字段映射)

  • 在“释义目标字段与提示词”区域:
    • 下拉选择要填充的字段(如 Meaning)
    • 点击 + 按钮添加字段
    • 在文本框中输入专属提示词(留空则使用默认提示词)
  • 重复以上步骤,添加所有需要 AI 填充的字段

字段映射配置

4. 预览与验证

  • 返回 3. AI 服务设置 标签页
  • 先点击 保存配置
  • 再点击 🔍 预览完整发送内容,确认 AI 接收的指令符合预期

第三步:批量生成释义(日常使用)

1. 选择卡片

  • 打开 Anki 的 浏览 (Browser) 界面
  • 选中要处理的卡片(支持多选)

2. 触发生成

  • 点击顶部菜单栏 LexiSage → 批量生成释义

批量生成菜单

3. 选择处理模式

  • 更新 (Update) 模式:只填充空字段,绝对安全,不会覆盖手动内容
  • 覆盖 (Overwrite) 模式:强制重写所有选中字段,适用于重修卡片

4. 等待完成

  • 进度条显示处理进度
  • 完成后显示消耗的 Token 数量和成功统计

第四步:单卡即时生成(边学边改)

1. 打开编辑界面

  • 在添加新卡片或编辑现有卡片时使用

2. 点击生成按钮

  • 在编辑器工具栏上点击 LexiSage 按钮

3. 自动填充

  • 插件根据配置规则自动填充所有空缺字段

单卡生成按钮


👨‍💻 开发者指南

如果你想了解项目结构、构建流程,或想要参与贡献,请查看我们的开发者文档。

📄 许可证

本项目采用 GNU 通用公共许可证 v3.0 (GPL-3.0) - 详情请参阅 LICENSE 文件。

📝 更新日志

最新更新内容可通过更新日志查看。

🙏 致谢

  • 感谢所有贡献者和用户的支持与反馈
  • 特别感谢 Anki 开发团队提供的优秀平台
  • 感谢社区成员的宝贵建议和 bug 报告

🔒 隐私说明

  • 此插件会将您的卡片内容发送到您配置的 AI 服务
  • 请确保您了解所选 AI 服务商的隐私政策
  • API 密钥仅存储在本地配置文件中,不会被上传到任何服务器

最后更新:2026年1月 | 让学习更智能,让记忆更高效