Gemini Practice

AnkiWeb addon 727020416

Uses the Gemini API to look up vocabulary definitions and examples, evaluate sentences for grammar and context, and show detailed Markdown feedback within Anki, opened via P or Alt+P.
AI-generated summary; may contain mistakes.

aiformattingshortcutsquizdictionary

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2025-07-08
Anki versions
2.1.65~
License
MIT (from the AnkiWeb description)
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
vi

Maintenance

stale

  • Last update or commit: 2025-07-08 (481 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.65+2025-07-08
History across monthly snapshots

Loading…

Similar addons

AI_LEARNING_HUB

Turns Anki vocabulary decks into nine AI-generated language games with multilingual exam-level practice, hints, offline word matching, and customizable fast or detailed question generation.

aigamificationclozequiz

3 votes 44% approval 👍 3 · 👎 0 Anki 26.09~ Updated 2026-10-20
Gemini Chat for Anki

Adds an embedded Gemini-powered chat window to the Anki reviewer, offering context-aware grammar explanations, translations, examples, and custom per-deck prompt responses about cards.

aiservice-client

3 votes 21% approval 👍 2 · 👎 1 ⭐ 0 Anki 25.09.2~ Updated 2025-11-20
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

Description

Gemini Practice là một addon dành cho phần mềm Anki, giúp bạn luyện tập đặt câu và hiểu nghĩa từ vựng sâu hơn với sự hỗ trợ của mô hình ngôn ngữ Gemini API (by Google). Addon này tích hợp khả năng gợi ý định nghĩa, ví dụ và đánh giá câu sử dụng từ vựng – tất cả hiển thị đẹp mắt ngay trong giao diện Anki.

🚀 Tính năng nổi bật

  • Tự động tra nghĩa từ vựng bằng mô hình Gemini, hiển thị theo định dạng markdown đẹp mắt.
  • Luyện đặt câu trực tiếp trên Anki và nhận phản hồi chi tiết về:
    • Ngữ pháp
    • Ngữ cảnh sử dụng từ
    • Gợi ý cải thiện
  • Tùy chỉnh cấu hình dễ dàng: API Key, prompt định nghĩa, prompt đánh giá...
  • Hỗ trợ markdown được tối ưu cho hiển thị trong Qt/Anki.
  • Phím tắt tiện lợi: Nhấn P hoặc Alt+P để mở giao diện luyện tập ngay khi đang học bài.

📦 Cài đặt

  1. Tải source code addon và đặt vào thư mục:

    <Anki addons folder>/gemini_practice
    
  2. Đảm bảo đã cài các thư viện Python sau (nếu chưa có):

    nginx
    Copy code
    pip install requests markdown
    
  3. Mở Anki → vào menu Tools:

    • Chọn "Luyện tập đặt câu (P/Alt+P)" để bắt đầu sử dụng.
    • Chọn "Cấu hình Gemini Practice" để điền API Key và chỉnh sửa prompt theo ý bạn.

🔧 Cấu hình

File cấu hình sẽ được tạo tự động tại:

<Anki addons folder>/gemini_practice/gemini_practice_config.json

Các trường cần thiết:

| Trường | Mô tả | | --- | --- | | api_key | API key từ Google Gemini (https://makersuite.google.com/app) | | api_url | Endpoint đầy đủ để gọi API Gemini (bao gồm ?key=...) | | prompt_definition | Prompt cho phần gợi ý định nghĩa từ vựng | | prompt_evaluation | Prompt cho phần đánh giá câu bạn đặt |

Mặc định, addon đã có sẵn API Key demo – bạn nên thay bằng key của riêng bạn để đảm bảo ổn định.

💡 Cách sử dụng

  1. Trong khi học bài trên Anki, nhấn P hoặc Alt+P để mở khung luyện tập.
  2. Chọn trường từ vựng (ví dụ: "Vocabulary").
  3. Xem định nghĩa gợi ý từ Gemini.
  4. Nhập câu bạn muốn đặt vào khung "Luyện đặt câu".
  5. Nhấn Gửi đánh giá để xem phản hồi chi tiết.

📘 Lưu ý kỹ thuật

  • Addon tương thích với Anki 2.1.x và Qt5/Qt6.
  • Hoạt động tốt nhất khi có kết nối Internet ổn định.
  • Bạn có thể mở rộng hoặc thay đổi prompt để dùng cho các mục đích khác như: kiểm tra ngữ pháp, viết đoạn văn, phân tích lỗi sai,...

✅ Giấy phép

MIT License – Tự do sử dụng và chỉnh sửa cho mục đích cá nhân hoặc học tập.