LLM tools for searching AnkiHub notes using semantic search.
llm install llm-anki-searchThe plugin provides an anki:search template that searches for relevant Anki notes based on input text:
llm -t anki:search "The citric acid cycle is a series of chemical reactions..."You can also use the search_notes tool directly in chat or with other templates:
llm chat -T search_notesOr reference it in your own templates:
name: my-template
tools:
- search_notes
prompt: |
Find notes related to: $inputThe plugin requires a Mixedbread API key. Set it via environment variable:
export MIXEDBREAD_API_KEY=your-api-keyInstall for development:
git clone https://github.com/andrewsanchez/ankihub-llm-tools
cd ankihub-llm-tools
pip install -e '.[test]'Run tests:
python -m pytestApache 2.0