| list_models {ollamar} | R Documentation | 
Get available local models
Description
Get available local models
Usage
list_models(
  output = c("df", "resp", "jsonlist", "raw"),
  endpoint = "/api/tags"
)
Arguments
output | 
 The output format. Default is "df". Other options are "resp", "jsonlist", "raw".  | 
endpoint | 
 The endpoint to get the models. Default is "/api/tags".  | 
Value
A httr2 response object, json list, raw or data frame. Default is "df".
Examples
list_models()  # returns dataframe/tibble by default
list_models("df")
list_models("resp")
list_models("jsonlist")
list_models("raw")
[Package ollamar version 1.1.1 Index]