show | R Documentation |
Model information includes details, modelfile, template, parameters, license, system prompt.
show(
name,
verbose = FALSE,
output = c("jsonlist", "resp", "raw"),
endpoint = "/api/show",
host = NULL
)
name |
Name of the model to show |
verbose |
Returns full data for verbose response fields. Default is FALSE. |
output |
The output format. Default is "jsonlist". Other options are "resp", "raw". |
endpoint |
The endpoint to show the model. Default is "/api/show". |
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.
# show("llama3") # returns jsonlist
show("llama3", output = "resp") # returns response object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.