List online models
Would it be possible to also get a list of available Ollama models in the online library together with their usage tags (e.g. vision) and available sizes? This would be amazing and make it really easy for users and developers to provide an always up-to-date list.
I like this idea a lot actually but I am not sure ...
- if Ollama has their model archive machine readable (scraping is not enough for a production library)
- if this should really be part of OllamaSharp which wants to be the best option to talk to Ollama but not really their online model archive.
I indeed thought about the same but ended up still opening the issue since I perceive the library right now as the organizational layer around Ollama and Microsoft.AI as the actual execution layer moving forward. I have only tried the chat and image analysis though so far. But splitting it up in my head into these domains, I'd be using OllamaSharp for listing local and online models, pulling them, showing metadata details and informing the user etc. The selected model I'll then put into native Microsoft.AI constructs and their reference implementation. Does that make sense? So far this works nicely.
registry.ollama.ai seems to be compatible with the docker registry v2 api, and may be used in the same way as the docker registry.
curl "https://registry.ollama.ai/v2/library/qwen2.5/manifests/0.5b"
registry.ollama.ai seems to be compatible with the docker registry v2 api, and may be used in the same way as the docker registry.
curl "https://registry.ollama.ai/v2/library/qwen2.5/manifests/0.5b"
But I just noticed that many APIs seem to be no longer available, it seems that they switched all storage to Cloudflare R2? https://github.com/ollama/ollama/issues/5021
Closing this because I don't think it should be part of this project.