OpenStreetMap LLM Tool 0.5.0
Published: 2024-09-17T22:35:38+00:00
Two blog posts and two updates in one day. I have now just published 0.5.0 of the OpenStreetMap tool for OpenWbeUI.
Install it from OpenWebUI.com Get the code from agnos.is Git
The reason why this update is getting another blog post is because I added support for searching for Ways in OpenStreetMap, which makes search results much, much more accurate.
While many map features in OSM are nodes, or single points on the map, many others are defined as “ways,” or shapes on the map. Buildings, roads, areas (parks, parking lots, etc), and everything else that you can draw with a line is considered a “way.” In our case, we're mostly concerned with the buildings.
By changing the Overpass Turbo query, I was able to get the bounding information for Ways, which is basically the set of GPS coordinates that make up its shape. Calculate the center coordinate, and we can now add these Ways to the search results!
Of course, the 0.5.0 update includes everything from the 0.4.0 update:
- Complete rewrite of search result handling to prevent incorrect OSM map links being generated, and bad info given.
- New setting: Instruction Oriented Interpretation. Controls the result interpretation instructions given to the LLM.
- The Instruction Oriented Interpretation setting is also a user valve that can be controlled on a per-chat basis.
- Added ability to search for: public transit, schools/universities, libraries, bike rental locations, car rental locations.
License: CC-BY-SA-4.0.
Written by: @[email protected]