Quote:
Originally Posted by kovidgoyal
Released 8.10.100 which has the "Ask AI" lookup feature in the E-book viewer.
When you select text in the viewer, you can ask the AI questions about it, by clicking the lookup button on the popup bar and choosing the Ask AI tab.
It's completely plugin based and even the code for it is not loaded unless you enable it.
Currently it supports using AI services from any of Google, GitHub, OpenRouter and Ollama (for local AI). Note that most of these require setting up an account, but you can use them for free (up to a certain number of times a day, I'd recommend using the Google one as it's the most capable and is currently free for a fair number of queries a day).
|
Hi Kovid,
I get this error when clicking either "First, configure AI provider" or settings:
Spoiler:
Traceback (most recent call last):
File "calibre\gui2\viewer\llm.py", line 584, in on_chat_link_clicked
File "calibre\gui2\viewer\llm.py", line 331, in show_settings
File "calibre\gui2\viewer\llm.py", line 780, in __init__
File "calibre\gui2\widgets2.py", line 272, in __init__
File "calibre\gui2\viewer\llm.py", line 787, in setup_ui
File "calibre\gui2\viewer\llm.py", line 698, in __init__
File "calibre\gui2\viewer\llm.py", line 704, in load_settings
File "calibre\gui2\viewer\llm.py", line 714, in load_actions_from_prefs
File "calibre\gui2\viewer\llm.py", line 125, in current_actions
AttributeError: 'str' object has no attribute 'get'
This on Win10