delete {ollamar}R Documentation

Delete a model

Description

Delete a model from your local machine that you downlaoded using the pull() function. To see which models are available, use the list_models() function.

Usage

delete(model, endpoint = "/api/delete")

Arguments

model

A character string of the model name such as "llama3".

endpoint

The endpoint to delete the model. Default is "/api/delete".

Value

A httr2 response object.

Examples

## Not run: 
delete("llama3")

## End(Not run)

[Package ollamar version 1.1.1 Index]