ozgrozer / ai-renamer

A Node.js CLI that uses Ollama and LM Studio models (Llava, Gemma, Llama etc.) to intelligently rename files by their contents
https://x.com/ozgrozer/status/1812591967756255298
GNU General Public License v3.0
1.09k stars 65 forks source link

Add image renaming with Llava #1

Closed tommitytom closed 1 week ago

tommitytom commented 2 weeks ago

It should be pretty simple to add Llava support, since it just accepts the contents of an image as a base64 image url. Could add it to readFileContent.js as a special case like .pdf

ozgrozer commented 2 weeks ago

Oh thank you for the feedback. I was wondering how to upload photos to Llava with Ollama APIs. Didn't know it was that easy. I'll definitely do that.

ozgrozer commented 2 weeks ago

Now it supports images too.