copy | R Documentation |
Creates a model with another name from an existing model.
copy(source, destination, endpoint = "/api/copy", host = NULL)
source |
The name of the model to copy. |
destination |
The name for the new model. |
endpoint |
The endpoint to copy the model. Default is "/api/copy". |
host |
The base URL to use. Default is NULL, which uses Ollama's default base URL. |
A httr2 response object.
copy("llama3", "llama3_copy")
delete("llama3_copy") # delete the model was just got copied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.