Exploring the QChatGPT plugin in QGIS

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • There's a new plugin for using the ChatGPT openai API in QGIS. In this video I'm exploring it. Can we find locations? Can it tell which EPSG code I need to use for my study area? Does it recommend plugins, TH-cam channels, books?
    QGIS version 3.28.3
    Plugin: QChatGPT by Marios Kyriakou, github.com/Mar...
    #QGIS #ChatGPT

ความคิดเห็น • 42

  • @aminshakya1093
    @aminshakya1093 ปีที่แล้ว +6

    Nice first exploration of QChatGPT, big potential to assist geospatial analysis in the (hopefully near) future

  • @johnwall9577
    @johnwall9577 ปีที่แล้ว +1

    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!

  • @giedriuskaveckis4514
    @giedriuskaveckis4514 ปีที่แล้ว +1

    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 :)

  • @AirPunkt
    @AirPunkt ปีที่แล้ว +4

    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.

  • @manassehyohanna7922
    @manassehyohanna7922 ปีที่แล้ว

    Wow, am happy for this update

  • @meteorizada
    @meteorizada ปีที่แล้ว

    Thanks!! The WMS link was correct, it must include the "?" in it.

  • @KilluahX
    @KilluahX ปีที่แล้ว +1

    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.

  • @marioluna8864
    @marioluna8864 ปีที่แล้ว +1

    Very interesting, Thanks

  • @bovicmirindi4875
    @bovicmirindi4875 ปีที่แล้ว

    Interesting… thank you for the update

  • @gloriadp3117
    @gloriadp3117 ปีที่แล้ว

    What a great video Hans! thanks a lot!!!

  • @giedriuskaveckis4514
    @giedriuskaveckis4514 ปีที่แล้ว +4

    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

  • @regix1964
    @regix1964 ปีที่แล้ว

    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...

  • @antoniojmols
    @antoniojmols ปีที่แล้ว

    Amazing new tool dude. Tks for sharing ☻

    • @IM-rk9nm
      @IM-rk9nm ปีที่แล้ว

      Whats so amazing about it lol? 80 percent of the answers it gave were either completely off or straight up wrong

  • @KilluahX
    @KilluahX ปีที่แล้ว +4

    Don't forget its training data ends 2021

  • @cadaverdewtch9450
    @cadaverdewtch9450 ปีที่แล้ว

    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.

  • @spaceremotesensingandgis5626
    @spaceremotesensingandgis5626 ปีที่แล้ว

    What a great video Sir

  • @gj3933
    @gj3933 ปีที่แล้ว +2

    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.

    • @HansvanderKwast
      @HansvanderKwast  ปีที่แล้ว

      Check the version of the plugin and the setting of your API key.

  • @pradeeppanwar7279
    @pradeeppanwar7279 ปีที่แล้ว

    Intersting!

  • @iliassestory
    @iliassestory ปีที่แล้ว

    you have any idea about Exploring the QChatGPT plugin in Arcgis Pro? and thanks

  • @jilitelmostafa
    @jilitelmostafa ปีที่แล้ว

    thanks you , very smart hahah, let's go to do

  • @LukeSteer
    @LukeSteer ปีที่แล้ว

    I have tried to use it to provide sql query scripts

  • @elzombie008
    @elzombie008 ปีที่แล้ว +3

    what happend if igot an error "ModuleNotFoundError: No module named 'openai' "
    nice video¡¡

    • @HansvanderKwast
      @HansvanderKwast  ปีที่แล้ว

      Something went wrong with your installation. Maybe create a new profile and install the plugin. Otherwise contact the developer.

    • @jairoescobar8545
      @jairoescobar8545 ปีที่แล้ว +1

      @@HansvanderKwast same issue

    • @Geotechdev
      @Geotechdev ปีที่แล้ว

      @Hans van der Kwast I had the same problem but it worked after swi tching to my *default* profile

    • @johnwall9577
      @johnwall9577 ปีที่แล้ว +1

      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.

    • @benaikins1039
      @benaikins1039 ปีที่แล้ว

      Actually, you have to change the model type you are using, that is if the installation was successful

  • @KilluahX
    @KilluahX ปีที่แล้ว

    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

    • @KilluahX
      @KilluahX ปีที่แล้ว

      Try following up with "The result does not point north"
      It will correct itself.

  • @MuhammadUmair-yw3he
    @MuhammadUmair-yw3he ปีที่แล้ว

    Is there any open source where I can get global groundwater aquifers data?

    • @HansvanderKwast
      @HansvanderKwast  ปีที่แล้ว

      Check the website of IGRAC: www.un-igrac.org/stories/transboundary-aquifers-global-outline-2021

  • @BuGa654
    @BuGa654 ปีที่แล้ว

    For me it's a little instable, maybe is using a older version of ChatGPT?

  • @almaghnatees
    @almaghnatees ปีที่แล้ว

    I managed to reinstall it but it does not appear on my tab

  • @DanielRobot-rs1dc
    @DanielRobot-rs1dc ปีที่แล้ว

    I lost my time installing this plugin. :/

  • @hanserikjacobsen4864
    @hanserikjacobsen4864 ปีที่แล้ว +5

    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

    • @HansvanderKwast
      @HansvanderKwast  ปีที่แล้ว

      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.

    • @harvbegal6868
      @harvbegal6868 ปีที่แล้ว +3

      Got the same error