Very interesting! Looks like my job is safe, for now. I tried this in QGIS 3.28.3 getting similarly erroneous results for many of the GeoJSON questions. When I specified the EPSG code, it seemed to get stuck "in memory". Turning to the ChatGPT website, many of the answers were also wrong. The training data only goes to sometime in 2021 hence why the answer to your question on the upcoming meeting is wrong. Hoping to see a return to QChatGPT video where many of these solutions are updated and more correct!
For professionals it might be misleading, although it can help some small tasks (i.e. find certain WMS) it can be helpful. I think it could be useful for beginners. For instance, I asked how to perform specific tasks (specifying that it's in QGIS, if not, it can give you instructions in ArcGIS), so more or less it is ok, no need for beginners to search for tutorials, they can try follow the steps. Not sure how the AI answers will change after each new functional QGIS release :)
Does anyone else have trouble installing the plugin? I'm using QGIS on a Mac. When I try to install the plugin, it shows that I need to install the package "openai." After confirming, an error message appears.
You should try asking it for python functions, it generates code with better documentation than most programmers, even though it sometimes is not quite working and needs some manual fixing.
Human: Please draw me a perfect map and send it by email. AI: Can't do that, Sir. Human: ok, then explain me why the QGIS map composer is so laggy? AI: where did you say, I should send a perfect map? :D
the data of the QChatGPT plugin dates from the end of 2020 I believe. That was version 2 of ChatGPT. That's why you get the strange date for the QGIS dev meeting...
The first impressions of QChatGPT are good. Yet, it is still conversational and needs to be ingrained in to the qgis framework to be able to perform GIS operations with natural conversational text commands.
I type "hello" in the chat box but shows: You exceeded your current quota, please check your plan and billing details.... how can I run out of quota if it is the first time I used the api.
I get an error, and I don't know how to handle it. Couldn't load plugin 'QChatGPT' due to an error when calling its classFactory() method ModuleNotFoundError: No module named 'openai' Traceback (most recent call last): File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\qchatqpt.py", line 45, in import openai File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'openai' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\__init__.py", line 35, in classFactory from .qchatqpt import qchatgpt File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\qchatqpt.py", line 51, in import openai File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'openai' Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] QGIS version: 3.30.0-'s-Hertogenbosch 's-Hertogenbosch, f186b8efe0e Python Path: C:/PROGRA~1/QGIS33~1.0/apps/qgis/./python C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins C:\Program Files\QGIS 3.30.0\bin\python39.zip C:\PROGRA~1\QGIS33~1.0\apps\Python39\DLLs C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib C:\Program Files\QGIS 3.30.0\bin C:\PROGRA~1\QGIS33~1.0\apps\Python39 C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\Pythonwin C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python . T:/QGIS/HansErik/Projekt005
The error means that the openai package is not installed. In my case it downloaded when I installed the plugin. I guess in your case this went wrong. You can try to create a new profile and install the plugin again. If that doesn't work, get in touch with the developer of the plugin.
I had the same issue and found it might have been resolved with my QGIS version. I uninstalled the LTS version and then installed 3.28.3. I recommend you try the same.
Nice first exploration of QChatGPT, big potential to assist geospatial analysis in the (hopefully near) future
Very interesting! Looks like my job is safe, for now. I tried this in QGIS 3.28.3 getting similarly erroneous results for many of the GeoJSON questions. When I specified the EPSG code, it seemed to get stuck "in memory". Turning to the ChatGPT website, many of the answers were also wrong. The training data only goes to sometime in 2021 hence why the answer to your question on the upcoming meeting is wrong. Hoping to see a return to QChatGPT video where many of these solutions are updated and more correct!
For professionals it might be misleading, although it can help some small tasks (i.e. find certain WMS) it can be helpful. I think it could be useful for beginners. For instance, I asked how to perform specific tasks (specifying that it's in QGIS, if not, it can give you instructions in ArcGIS), so more or less it is ok, no need for beginners to search for tutorials, they can try follow the steps. Not sure how the AI answers will change after each new functional QGIS release :)
Does anyone else have trouble installing the plugin? I'm using QGIS on a Mac. When I try to install the plugin, it shows that I need to install the package "openai." After confirming, an error message appears.
You should try asking it for python functions, it generates code with better documentation than most programmers, even though it sometimes is not quite working and needs some manual fixing.
Human: Please draw me a perfect map and send it by email. AI: Can't do that, Sir. Human: ok, then explain me why the QGIS map composer is so laggy? AI: where did you say, I should send a perfect map? :D
Thanks!! The WMS link was correct, it must include the "?" in it.
Don't forget its training data ends 2021
the data of the QChatGPT plugin dates from the end of 2020 I believe. That was version 2 of ChatGPT. That's why you get the strange date for the QGIS dev meeting...
The first impressions of QChatGPT are good. Yet, it is still conversational and needs to be ingrained in to the qgis framework to be able to perform GIS operations with natural conversational text commands.
Wow, am happy for this update
Interesting… thank you for the update
What a great video Hans! thanks a lot!!!
Very interesting, Thanks
Amazing new tool dude. Tks for sharing ☻
Whats so amazing about it lol? 80 percent of the answers it gave were either completely off or straight up wrong
I type "hello" in the chat box but shows: You exceeded your current quota, please check your plan and billing details.... how can I run out of quota if it is the first time I used the api.
Check the version of the plugin and the setting of your API key.
What a great video Sir
I get an error, and I don't know how to handle it.
Couldn't load plugin 'QChatGPT' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'openai'
Traceback (most recent call last):
File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\qchatqpt.py", line 45, in
import openai
File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'openai'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\__init__.py", line 35, in classFactory
from .qchatqpt import qchatgpt
File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QChatGPT\qchatqpt.py", line 51, in
import openai
File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'openai'
Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.30.0-'s-Hertogenbosch 's-Hertogenbosch, f186b8efe0e
Python Path:
C:/PROGRA~1/QGIS33~1.0/apps/qgis/./python
C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.30.0\bin\python39.zip
C:\PROGRA~1\QGIS33~1.0\apps\Python39\DLLs
C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib
C:\Program Files\QGIS 3.30.0\bin
C:\PROGRA~1\QGIS33~1.0\apps\Python39
C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages
C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS33~1.0\apps\Python39\lib\site-packages\Pythonwin
C:/Users/haej/AppData/Roaming/QGIS/QGIS3\profiles\default/python
.
T:/QGIS/HansErik/Projekt005
The error means that the openai package is not installed. In my case it downloaded when I installed the plugin. I guess in your case this went wrong. You can try to create a new profile and install the plugin again. If that doesn't work, get in touch with the developer of the plugin.
Got the same error
thanks you , very smart hahah, let's go to do
Intersting!
I have tried to use it to provide sql query scripts
you have any idea about Exploring the QChatGPT plugin in Arcgis Pro? and thanks
what happend if igot an error "ModuleNotFoundError: No module named 'openai' "
nice video¡¡
Something went wrong with your installation. Maybe create a new profile and install the plugin. Otherwise contact the developer.
@@HansvanderKwast same issue
@Hans van der Kwast I had the same problem but it worked after swi tching to my *default* profile
I had the same issue and found it might have been resolved with my QGIS version. I uninstalled the LTS version and then installed 3.28.3. I recommend you try the same.
Actually, you have to change the model type you are using, that is if the installation was successful
Try: "Can you write me geometry generator string for a qgis point layer that generates arrows that always point north?"
Not quite correct but almost
Try following up with "The result does not point north"
It will correct itself.
For me it's a little instable, maybe is using a older version of ChatGPT?
I thought so too.
I managed to reinstall it but it does not appear on my tab
same
Is there any open source where I can get global groundwater aquifers data?
Check the website of IGRAC: www.un-igrac.org/stories/transboundary-aquifers-global-outline-2021
I lost my time installing this plugin. :/