This module provides functions to fetch detailed information about a
specific model on the Ollama server. It includes both high-level
(
showModel,
showModelM) and low-level
(
showModelOps,
showModelOpsM) APIs for retrieving model
details, with support for verbose output. The operation is performed
via a POST request to the "
api/show" endpoint, returning a
ShowModelResponse containing comprehensive model metadata.
The
ShowModelOps type configures the request, and
ShowModelResponse and
ShowModelInfo represent the
response structure. The module also re-exports
ModelDetails for
completeness.
Note: Verbose mode parsing is currently not fully supported.
Example:
>>> showModel "gemma3"
Right (ShowModelResponse {modelFile = "...", ...})