ps | R Documentation |
List models that are currently loaded into memory
ps(
output = c("df", "resp", "jsonlist", "raw", "text"),
endpoint = "/api/ps",
host = NULL
)
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. |
A response in the format specified in the output parameter.
ps("text")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.