πΊοΈ EXIF Location Filter
Enhance LLMs' understanding of images in OpenWebUI by including location data, when available. This filter pre-processes user input with images by attempting to extract GPS coordinates from the image's metadata (EXIF data). If GPS information is found, OpenStreetMap Nominatim is used to discover the name of the place the image was taken.
Configuration
Configuration is similar to the OSM tool.
This EXIF filter should work out of the box on any low-traffic instance of Open Web UI. The only setting you MUST set are the User-Agent and From headers.
Enabling
It is recommended to enable this filter globally!
Settings
The filter exposes these settings:
- User-Agent: The custom user agent to set for OSM and Overpass Turbo API requests.
- From Header: The email address for the From header for OSM and Overpass API requests.
- Nominatim API URL: URL of the API endpoint for Nominatim, the reverse geocoding (address lookup) service. Defaults to the public instance. This must be the root URL of the service.
Nominatim Terms of Use
The tool WILL NOT RUN without the User-Agent and From headers set. This is because the public instance of the Nominatim API will block you if you do not set these. Use of the public Nominatim instance is governed by their terms of use.
The default API services are suitable for applications with a low volume of traffic (absolute max 1 API call per second). If you are running a production service, you should set up your own Nominatim and Overpass services with caching.
Other Information
Important information to know:
- The filter always attempts to extract GPS information from the MOST RECENT user-provided image.
- Location lookup results are cached at 4 decimal points of precision (e.g. 50.5523, 8.3324). This is accurate to about 5 to 10 meters.
- The filter modifies the system prompt in the conversation with information about the EXIF location data.
ββββββββββββββββββββ