- Issue created by @NicholasS
- πΊπΈUnited States NicholasS
I wonder if the file name could also help situations like #3493133
- πΊπΈUnited States NicholasS
I added an image to help test this feature request. All I get back is variations like "Single-story beige house with garage, front lawn, and trees in the background."
Also tried some prompt engineering but I just don't think it has access to the filename?
11. If the filename of the image is available you can use it for hints for context as to what is shown in that image and work those words into the description.
- πΊπΈUnited States NicholasS
I experimented a lot trying to get AI to use the filename, but only luck I had was by adding a token so that I can specifically include it in our prompt template. And for the images I tested this seemed to have a very beneficial effect, so this change just adds a filename token.
Along with
IMPORTANT: This image has the filename "{{ filename }}" - use keywords from this filename as strong hints about the image content and incorporate relevant context into your description.
it has greatly improved our images alt text. So I feel like this shouldn't be too much of a request to add this token. - Merge request !16Add filename token description to AI Image Alt Text settings form β (Open) created by NicholasS
- π©πͺGermany marcus_johansson
Hi @nicholass - in 1.2.0 we will actually have a new module called Field Widget Actions that will make it possible to trigger any processor using a button.
The AI Automators module has an AI Image Alt Text processor, that can take any token available to generate the alt text, including the filename.
This module is meant to just be simple - install and get an 80% okish alt text - for perfect generated alt text I'm wondering if the Field Widget Action + AI Automators doesn't make more sense?
Its not 100% documented yet and I'll create some videos on it and update as soon as its done.
- πΊπΈUnited States NicholasS
I could try it if you have a guide for "Field Widget Action + AI Automators" but honestly after testing the filename token seems to be all the context I need, its good enough to get us and our content editors can adjust from there. Plus teaches them to name their images better which helps content maintenance.