{"resources":{"ollama":{"id":"ollama","name":"ollama","fields":{"host":{"name":"host","type":"\u0007","title":"Host address of the Ollama instance","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u001bollama.model","title":"Ollama model","desc":"Installed Ollama model, including its family, parameter size, quantization level, and license. The `info` field exposes structured GGUF metadata from the model's configuration and `modelfile` returns the Modelfile used to create or pull this model.","provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"models":{"name":"models","type":"\u0019\u001bollama.model","title":"Installed models","provider":"go.mondoo.com/mql/providers/ollama"},"runningModel":{"name":"runningModel","type":"\u001bollama.runningModel","title":"Ollama model loaded in memory","desc":"Model currently resident on the Ollama instance, along with its VRAM footprint, active context window, and the time it will be unloaded from memory. Useful for auditing which models are live and how much GPU memory they consume. The `model` field resolves to the installed `ollama.model` for full metadata such as license, capabilities, and GGUF info.","provider":"go.mondoo.com/mql/providers/ollama","is_implicit_resource":true},"runningModels":{"name":"runningModels","type":"\u0019\u001bollama.runningModel","title":"Currently running models loaded in memory","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama instance","desc":"Ollama server hosting large language models, exposing the models installed on the instance and the models currently loaded in memory for inference. Works against both a local Ollama server and Ollama Cloud, selected by the configured host and optional API token authentication.","min_provider_version":"13.0.0","defaults":"host","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.model":{"id":"ollama.model","name":"ollama.model","fields":{"capabilities":{"name":"capabilities","type":"\u0019\u0007","title":"Model capabilities","desc":"For example completion, tools, vision, or thinking.","provider":"go.mondoo.com/mql/providers/ollama"},"digest":{"name":"digest","type":"\u0007","is_mandatory":true,"title":"Content digest (SHA-256)","provider":"go.mondoo.com/mql/providers/ollama"},"families":{"name":"families","type":"\u0019\u0007","is_mandatory":true,"title":"All model families","provider":"go.mondoo.com/mql/providers/ollama"},"family":{"name":"family","type":"\u0007","is_mandatory":true,"title":"Primary model family","desc":"For example llama, gemma, or phi3.","provider":"go.mondoo.com/mql/providers/ollama"},"format":{"name":"format","type":"\u0007","is_mandatory":true,"title":"Model format","desc":"For example gguf.","provider":"go.mondoo.com/mql/providers/ollama"},"info":{"name":"info","type":"\u001bollama.model.info","title":"Structured GGUF metadata extracted from the model's configuration","provider":"go.mondoo.com/mql/providers/ollama"},"license":{"name":"license","type":"\u0007","title":"License text","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u0007","is_mandatory":true,"title":"Canonical model identifier","provider":"go.mondoo.com/mql/providers/ollama"},"modelfile":{"name":"modelfile","type":"\u0007","title":"Raw Modelfile content","provider":"go.mondoo.com/mql/providers/ollama"},"modifiedAt":{"name":"modifiedAt","type":"\t","is_mandatory":true,"title":"Last modification time","provider":"go.mondoo.com/mql/providers/ollama"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Model name (e.g., \"llama3.1:latest\")","provider":"go.mondoo.com/mql/providers/ollama"},"parameterSize":{"name":"parameterSize","type":"\u0007","is_mandatory":true,"title":"Human-readable parameter count","desc":"For example \"8.0B\", \"70.6B\".","provider":"go.mondoo.com/mql/providers/ollama"},"parentModel":{"name":"parentModel","type":"\u0007","is_mandatory":true,"title":"Parent model this was derived from","provider":"go.mondoo.com/mql/providers/ollama"},"quantizationLevel":{"name":"quantizationLevel","type":"\u0007","is_mandatory":true,"title":"Quantization level","desc":"For example Q4_0, Q8_0.","provider":"go.mondoo.com/mql/providers/ollama"},"size":{"name":"size","type":"\u0005","is_mandatory":true,"title":"Total size in bytes","provider":"go.mondoo.com/mql/providers/ollama"},"system":{"name":"system","type":"\u0007","title":"System prompt","provider":"go.mondoo.com/mql/providers/ollama"},"template":{"name":"template","type":"\u0007","title":"Chat template","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model","desc":"Installed Ollama model, including its family, parameter size, quantization level, and license. The `info` field exposes structured GGUF metadata from the model's configuration and `modelfile` returns the Modelfile used to create or pull this model.","min_provider_version":"13.0.0","defaults":"name family parameterSize","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.model.info":{"id":"ollama.model.info","name":"ollama.model.info","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"Model architecture","desc":"For example llama, gemma, qwen2, phi3, or mistral.","provider":"go.mondoo.com/mql/providers/ollama"},"author":{"name":"author","type":"\u0007","is_mandatory":true,"title":"Model author or organization","provider":"go.mondoo.com/mql/providers/ollama"},"basename":{"name":"basename","type":"\u0007","is_mandatory":true,"title":"Base model name before fine-tuning","provider":"go.mondoo.com/mql/providers/ollama"},"blockCount":{"name":"blockCount","type":"\u0005","is_mandatory":true,"title":"Number of transformer blocks (layers)","provider":"go.mondoo.com/mql/providers/ollama"},"contextLength":{"name":"contextLength","type":"\u0005","is_mandatory":true,"title":"Context window length in tokens","provider":"go.mondoo.com/mql/providers/ollama"},"datasets":{"name":"datasets","type":"\u0019\u0007","is_mandatory":true,"title":"Training datasets","provider":"go.mondoo.com/mql/providers/ollama"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Model description","provider":"go.mondoo.com/mql/providers/ollama"},"embeddingLength":{"name":"embeddingLength","type":"\u0005","is_mandatory":true,"title":"Token embedding dimension","provider":"go.mondoo.com/mql/providers/ollama"},"expertCount":{"name":"expertCount","type":"\u0005","is_mandatory":true,"title":"Number of experts (for MoE models, 0 otherwise)","provider":"go.mondoo.com/mql/providers/ollama"},"expertUsedCount":{"name":"expertUsedCount","type":"\u0005","is_mandatory":true,"title":"Number of active experts per token (for MoE models, 0 otherwise)","provider":"go.mondoo.com/mql/providers/ollama"},"feedForwardLength":{"name":"feedForwardLength","type":"\u0005","is_mandatory":true,"title":"Feed-forward network hidden dimension","provider":"go.mondoo.com/mql/providers/ollama"},"finetune":{"name":"finetune","type":"\u0007","is_mandatory":true,"title":"Fine-tune variant","desc":"For example Instruct, Chat, or Code.","provider":"go.mondoo.com/mql/providers/ollama"},"headCount":{"name":"headCount","type":"\u0005","is_mandatory":true,"title":"Number of attention heads","provider":"go.mondoo.com/mql/providers/ollama"},"headCountKv":{"name":"headCountKv","type":"\u0005","is_mandatory":true,"title":"Number of key-value attention heads (for GQA)","provider":"go.mondoo.com/mql/providers/ollama"},"languages":{"name":"languages","type":"\u0019\u0007","is_mandatory":true,"title":"Training or supported languages","provider":"go.mondoo.com/mql/providers/ollama"},"license":{"name":"license","type":"\u0007","is_mandatory":true,"title":"GGUF-embedded license identifier","provider":"go.mondoo.com/mql/providers/ollama"},"parameterCount":{"name":"parameterCount","type":"\u0005","is_mandatory":true,"title":"Total parameter count","provider":"go.mondoo.com/mql/providers/ollama"},"sizeLabel":{"name":"sizeLabel","type":"\u0007","is_mandatory":true,"title":"Human-readable size label","desc":"For example 8B, 70B.","provider":"go.mondoo.com/mql/providers/ollama"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"Model tags","provider":"go.mondoo.com/mql/providers/ollama"},"tokenizerModel":{"name":"tokenizerModel","type":"\u0007","is_mandatory":true,"title":"Tokenizer model type","desc":"For example gpt2, llama, or sentencepiece.","provider":"go.mondoo.com/mql/providers/ollama"},"vocabSize":{"name":"vocabSize","type":"\u0005","is_mandatory":true,"title":"Vocabulary size","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model GGUF metadata","desc":"Structured metadata from the GGUF model file, including architecture details, training datasets, context window size, and layer configuration. Fields are extracted from standardized GGUF keys and normalized across architectures so that `contextLength` works regardless of whether the underlying key is `llama.context_length` or `qwen2.context_length`.","private":true,"min_provider_version":"13.0.0","defaults":"architecture parameterCount sizeLabel","provider":"go.mondoo.com/mql/providers/ollama"},"ollama.runningModel":{"id":"ollama.runningModel","name":"ollama.runningModel","fields":{"contextLength":{"name":"contextLength","type":"\u0005","is_mandatory":true,"title":"Active context window length in tokens","provider":"go.mondoo.com/mql/providers/ollama"},"expiresAt":{"name":"expiresAt","type":"\t","is_mandatory":true,"title":"Time when the model will be unloaded from memory","provider":"go.mondoo.com/mql/providers/ollama"},"model":{"name":"model","type":"\u001bollama.model","title":"Installed model with full metadata","provider":"go.mondoo.com/mql/providers/ollama"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Model name (e.g., \"llama3.1:latest\")","provider":"go.mondoo.com/mql/providers/ollama"},"sizeVram":{"name":"sizeVram","type":"\u0005","is_mandatory":true,"title":"VRAM usage in bytes","provider":"go.mondoo.com/mql/providers/ollama"}},"title":"Ollama model loaded in memory","desc":"Model currently resident on the Ollama instance, along with its VRAM footprint, active context window, and the time it will be unloaded from memory. Useful for auditing which models are live and how much GPU memory they consume. The `model` field resolves to the installed `ollama.model` for full metadata such as license, capabilities, and GGUF info.","min_provider_version":"13.0.0","defaults":"name","provider":"go.mondoo.com/mql/providers/ollama"}}}