powered by
Check Ollama Model is Available
ollama_check_model(x)
NULL, invisibly if model is available; otherwise throws an error.
Character: Name of model.
EDG
# Requires running Ollama server if (FALSE) { ollama_check_model("gemma4:e4b") }
Run the code above in your browser using DataLab