# AI support was added to QOwnNotes

Date: 2024-05-17

QOwnNotes now has "AI support" as part of #3026 (opens new window), currently for Groq (opens new window) (because you can get free API keys) and OpenAI (opens new window)!

The OpenAI completion API was implemented to be used in scripts. This way you can do whatever you want and experiment with it.

  • There is a new AI toolbar and a section in the Edit main menu, where can turn the service on, and you can select the AI backend and model
  • You can add an OpenAI (opens new window) and Groq (opens new window) API key in the new AI settings
  • Use the new script.aiComplete(prompt) scripting command to your own imagination
  • In the script repository, as a first step, there is a new script AI Autocompletion (opens new window), that uses the selected AI model to autocomplete the current selection in the note text edit, and a new script AI Text Tool (opens new window) that uses the selected AI model to process the current selection in the note text edit, for example to summarize it, to translate it or to fix typos and grammar errors

robot-taking-notes