-
-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add "AI" support #3026
Comments
Currently, you can create API Keys at https://console.groq.com/keys for free to play around. |
Many thanks for this interesting development, Patrizio. Unfortunately, the AI toolbar doesn't function properly in my portable installation (24.5.4, with previously customised toolbars and layout). Only one button can be enabled manually (first row, far right): On a clean portable install, this is how it looks with two drop-down lists (AI toolbar moved down to improve screenshot): Is there anything I can do to make it work in my existing installation? In the AI toolbar settings, |
Update: the issue has been fixed by editing
New code:
|
If the toolbar gets too long it's just cut off, you can either move toolbar items to somewhere else or turn off toolbars you don't need. |
It's not the length. I could move the AI toolbar item to the start, and it would still show only one button (after adding it manually — until then, there was no button on the AI toolbar). Anyway, editing it out of the INI file fixed the issue. |
Only one button? Did you try to move the enable button from the main menu to a toolbar manually? |
I turned it on after upgrading to 24.5.4, and only a blank toolbar (no icons) appeared.
Yes, and that's how I managed to show the 'database' button. The two dropdown list items are nowhere to be found. |
Really!? What OS and what Qt version do you have?
Yes, there is no drop-down in the main menu. Those are added in source code, like e.g. the workspace selector. 🤔 |
Windows 11, Qt 5.15.2 (official 24.5.2 build). Also occurs with Windows 10. |
I just tried it on a Windows 8 VM. Updated from a year-old release of QOwnNotes. The AI Toolbar was intact for me, just cut off because there was no space to show it in full... I made a little room and the backend and model selector were present. |
Is the toolbar layout/buttons customised? |
The AI toolbar? No. |
I customised other toolbars' buttons before the AI toolbar was introduced. Those changes are stored in the QOwnNotes.ini file. Maybe this is what resulted in my issue. After all, a clean portable install of 24.5.4 has no problems with the AI toolbar. |
Hm, maybe... |
If there is not enough room, the whole widget will not be shown. I can't say if there was enough room on your screenshot. |
I have a backup of the INI file before I modified it. Here are screenshots of the entire program using it: Upon start-up, the AI Toolbar is hiding here:AI toolbar moved up to the top row and expanded. No buttons are visible:No button listed in the AI toolbar settings:Enable AI support added from the Edit toolbar item list:This is the result — one button: |
Interesting, good to know. Thank you! |
24.5.8
24.5.7
24.5.5
24.5.4
24.5.3
24.5.2
|
Also, see the blog post AI support was added to QOwnNotes. |
I want to try to integrate support for the OpenAI Autocomplete API to see where that leads us. I mainly plan to expose that to the scripting engine, so users can come up with new ideas of what to do with it. 😊
The text was updated successfully, but these errors were encountered: