Add support to LLM models
This is just an idea to use LLMs to define words and expressions. It should be straightforward to implement, add a new search type (e.g. "LLM"), add tab for it preferences where user can set a URL, model name, token (optional) and prompt (predefined but editable).
As a proof of concept I have put together a python script that acts as a DICT server and calls ollama. It seems to work quite well, even on my not so powerful laptop it spews results with acceptable time (6~12 seconds, gemma3:4b).
If interest picks up I might implement this directly into xfce4-dict, no need for an intermediary server.