This plugin has been created in order to integrate ChatGPT into Matomo as a widget. It is nothing complicated, it just consists in writing your prompts through the Matomo User Interface rather than using ChatGPT.
The difference is that it is using here the ChatGPT API rather than the ChatGPT User Interface. Current version is using text-davinci-002 OpenAI API.
In order to get started, you need to create an OpenAI API token -> Then you add this token into Personnal Settings in Matomo -> Then you add the widget and you are good to go.
get your API jey and past it in your User Settings panel under ChatGPT API Key section.
parameters : prompt (string)
In order to ask question to ChatGPT, you have to add the widget to your dashboard. Widget is in a section "ChatGPT > ChatGPT".
The request might take time to respond, but you have a visual indicator of loading time.
What does this plugin do?
It just uses the ChatGPT API in order to answer some prompts.
What do I need to make it work?
You need to have an OpenAI token, you will find it at https://platform.openai.com/.
Can I define the temperature and the token limit?
Not yet, but feel free to edit the source code to your wishes, it is released under the GPLv3 license.
View and download this plugin for a specific Matomo version: