Ancestors

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:04

"Fun" with #QGIS #LLM assistants πŸ‘©β€πŸ’»

Looking into the SpatialAnalysisAgent plugin today: https://github.com/Teakinboyewa/SpatialAnalysisAgent

1/n

[#]gischat #gis #geospatial #spatialdatascience

=> View attached media

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:06

Compared to the two plugins I discussed in October (https://anitagraser.com/2024/10/06/llm-based-spatial-analysis-assistants-for-qgis/), this plugin looks more mature and it's publicly available for testing.

All you need is an OpenAI API key.

(Support for other / local models is planned: https://github.com/Teakinboyewa/SpatialAnalysisAgent/issues/15)

2/n

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:11

First experiment: using the QGIS world layer, ask the assistant to select Austria πŸ‡¦πŸ‡Ή

The agent πŸ€– rumbles along and (after fixing an issue https://github.com/Teakinboyewa/SpatialAnalysisAgent/issues/21) creates a workflow diagram and some code that runs ... but doesn't provide any output ...

3/n

=> View attached media | View attached media | View attached media

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Toot

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:14

Turns out that the plugin is having issues with Geopackage inputs (https://github.com/Teakinboyewa/SpatialAnalysisAgent/issues/19)

So, let's try again with our trusty old @shapefile

Success 🀩

4/n

=> View attached media

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Descendants

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:18

Let's take it one step further: I asked "Select all countries that border Austria"

The resulting output? -- All countries πŸ€”

It used the "Select by location tool" instead of the Extract algorithm.

Changing the prompt to "Extract all countries that border Austria" didn't help. No result this time.

The plugin invents an OUTPUT parameter that doesn't exist in Select algorithms.

5/n

=> View attached media | View attached media

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:37

The plugin allows users to select different OpenAI models. Based on my limited experience, gpt-4o vastly outperforms gpt-4o-mini.

Every request to the assistant creates multiple API requests, depending on different factors that I don't fully understand yet. Therefore, it is not easy to predict the costs of a single experiment.

In total my ~10 experiments resulted in 63 GPT-4o and 10 GPT-4o-mini requests, totaling $0.36 for input and output.

6/n

=> View attached media | View attached media

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 20:47

tl;dr: Don't fire your GIS analyst just yet

Maybe I'll try out the Kue plugin tomorrow. Stay tuned.

7/7

[#]GISChat #QGIS #GIS #LLMs #GeoAI

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by Michal Migurski on 2024-12-29 at 20:59

Really appreciate you running through this wall

=> More informations about this toot | More toots from mike.teczno.com@bsky.brid.gy

Written by Anita Graser πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡¬πŸ‡ͺ on 2024-12-29 at 21:08

@mike.teczno.com thanks, Mike. I'd love to read what everyone else's experience with (geo) data analysis assistants has been

=> More informations about this toot | More toots from underdarkGIS@fosstodon.org

Written by geolaw on 2024-12-30 at 02:23

@underdarkGIS Don't fire your GIS analyst ever

=> More informations about this toot | More toots from geolaw@aus.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113737941922629100
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
303.299934 milliseconds
Gemini-to-HTML Time
4.826772 milliseconds

This content has been proxied by September (ba2dc).