Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hauselin committed Apr 29, 2024
1 parent 3554df2 commit cc38b20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2024-04-29 01:03:33 UTC
SHA: fcc6c8c4896af2283d6b3b111f9182f0fa354672
Version: 1.1.1
Date: 2024-04-29 03:07:39 UTC
SHA: 3554df297adc3e2058f14e0727c70138de8436ee
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ Download a model from the ollama library (see [API doc](https://github.com/ollam
```{r eval=FALSE}
pull("llama3") # returns a httr2 response object
pull("mistral-openorca")
list_models("df") # verify you've downloaded the model
list_models() # verify you've pulled/downloaded the model
```

### Delete a model

Delete a model and its data (see [API doc](https://github.com/ollama/ollama/blob/main/docs/api.md#delete-a-model)). You can see what models you've downloaded with `list_models()`. To download a model, specify the name of the model.

```{r eval=FALSE}
list_models("df") # see the models you've pulled/downloaded
list_models() # see the models you've pulled/downloaded
delete("all-minilm:latest") # returns a httr2 response object
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ library](https://ollama.com/library).
``` r
pull("llama3") # returns a httr2 response object
pull("mistral-openorca")
list_models("df") # verify you've downloaded the model
list_models() # verify you've pulled/downloaded the model
```

### Delete a model
Expand All @@ -108,7 +108,7 @@ You can see what models you’ve downloaded with `list_models()`. To
download a model, specify the name of the model.

``` r
list_models("df") # see the models you've pulled/downloaded
list_models() # see the models you've pulled/downloaded
delete("all-minilm:latest") # returns a httr2 response object
```

Expand Down

0 comments on commit cc38b20

Please sign in to comment.