% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_model_meta_val}
\alias{llama_model_meta_val}
\title{Get a single model metadata value by key}
\usage{
llama_model_meta_val(model, key)
}
\arguments{
\item{model}{Model handle returned by [llama_load_model]}

\item{key}{Character string metadata key (e.g. "general.name", "general.architecture")}
}
\value{
A character scalar with the metadata value, or \code{NULL} if the key
  does not exist.
}
\description{
Get a single model metadata value by key
}
\examples{
\dontrun{
model <- llama_load_model("model.gguf")
llama_model_meta_val(model, "general.name")
llama_model_meta_val(model, "general.architecture")
}
}
