Very nice design, sir.
2 things however.
One, people will be wanting the fancy my-link thing from you to load this. Please consider setting this up for them. Create a link – My Home Assistant.
Two, I would be interested in seeing if this would work with Ollama locally as opposed to going to the cloud. Do you have the ability to test/code that?
I would consider trying to do that but you have the original and expertise. I would have to use yours and get it running and understand it before I could plug my Ollama instance in and see how it does.
I haven’t tried anything with Ollama yet, but it would be interesting to have completely local, not least to mention I’d like to do a lot of AI detection and I’m pretty sure I’ll soon hit the free usage cap. Do you have any details on a Ollama setup in HA?
I personally set Ollama up on a Linux machine with a GPU. Lots of ways to do that, need to search to fit your hardware.
Then there id the Ollama integration to make an assistant. Ollama - Home Assistant.
I am currently using it as a local ChatGPT replacement to stay local, not using the HA connection (yet). Haven’t had the time to spend to figure it out with Summer going on.
I’ve found an Ollama addon I’ve installed, you wouldn’t know which model would be well suited for generative image analysis and maybe if such a thing exists, also good for home assistant in general?
There is the addon, but then the HA server has to have the big video card (GPU). Personally I just loaded Ollama on a gaming machine that sits idle most of the time and then the Ollama integration I mentioned can talk to that and be an assistant.
When I do trace, I get error at the AI step: “Error: Error generating content: 404 Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.”
I tried with the same free tier account in a browser and I do have access with genini-1.5-flash.
I have set model as “models/gemini-1.5-flash-latest” in Google Generative AI Conversation and has reloaded the integration several times. Is there anywhere else that I need to update?
Error: Error generating content: 404 Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.
I am still blocked on this version mismatch thing. Everything else looks good, the snapshots are being taken, HA reloaded several times, in Gemini webpage it works great.
I tried to add model: 'models/gemini-1.5-pro-002' in the blueprint under data for service: google_generative_ai_conversation.generate_content but I don’t think that action allows that parameter. The only place I can find to change model is in the integration itself and I have already changed there.