ps {ollamar} | R Documentation |
List models that are currently loaded into memory
Description
List models that are currently loaded into memory
Usage
ps(
output = c("df", "resp", "jsonlist", "raw", "text"),
endpoint = "/api/ps",
host = NULL
)
Arguments
output |
The output format. Default is "df". Supported formats are "df", "resp", "jsonlist", "raw", and "text". |
endpoint |
The endpoint to list the running models. Default is "/api/ps". |
host |
The base URL to use. Default is NULL, which uses Ollama's default base URL. |
Value
A response in the format specified in the output parameter.
References
Examples
ps("text")
[Package ollamar version 1.2.1 Index]