Skip to content

Commit

Permalink
change Ollama URL
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Mar 21, 2024
1 parent 6e79791 commit c759e36
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Authors@R:
family = "Weber",
role = c("aut", "ctb"),
comment = c(ORCID = "0000-0002-1174-449X")))
Description: Wraps the 'Ollama' <https://ollama.ai> API, which can be used to
Description: Wraps the 'Ollama' <https://ollama.com> API, which can be used to
communicate with generative large language models locally.
License: GPL (>= 3)
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion R/chat.r
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#'
#'
#' @param q the question as a character string or a conversation object.
#' @param model which model(s) to use. See <https://ollama.ai/library> for
#' @param model which model(s) to use. See <https://ollama.com/library> for
#' options. Default is "llama2". Set option(rollama_model = "modelname") to
#' change default for the current session. See \link{pull_model} for more
#' details.
Expand Down
2 changes: 1 addition & 1 deletion R/embedding.r
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Generate Embeddings
#'
#' @param text text vector to generate embeddings for.
#' @param model which model to use. See <https://ollama.ai/library> for options.
#' @param model which model to use. See <https://ollama.com/library> for options.
#' Default is "llama2". Set option(rollama_model = "modelname") to change
#' default for the current session. See \link{pull_model} for more details.
#' @param verbose Whether to print status messages to the Console
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ docker-compose up -d

## Example

The first thing you should do after installation is to pull one of the models from <https://ollama.ai/library>.
The first thing you should do after installation is to pull one of the models from <https://ollama.com/library>.
By calling `pull_model()` without arguments, you are pulling the (current) default model --- "llama2 7b":

```{r lib}
Expand Down Expand Up @@ -115,8 +115,8 @@ options(rollama_config = "You make answers understandable to a 5 year old")
query("why is the sky blue?")
```

By default, the package uses the "llama2 7B" model. Supported models can be found at <https://ollama.ai/library>.
To download a specific model make use of the additional information available in "Tags" <https://ollama.ai/library/mistral/tags>.
By default, the package uses the "llama2 7B" model. Supported models can be found at <https://ollama.com/library>.
To download a specific model make use of the additional information available in "Tags" <https://ollama.com/library/mistral/tags>.
Change this via `rollama_model`:

```{r model}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ docker-compose up -d
## Example

The first thing you should do after installation is to pull one of the
models from <https://ollama.ai/library>. By calling `pull_model()`
models from <https://ollama.com/library>. By calling `pull_model()`
without arguments, you are pulling the (current) default model --- "llama2 7b":

``` r
Expand Down Expand Up @@ -218,8 +218,8 @@ query("why is the sky blue?")
```

By default, the package uses the "llama2 7B" model. Supported models can be found
at <https://ollama.ai/library>. To download a specific model make use of the additional
information available in "Tags" <https://ollama.ai/library/mistral/tags>.
at <https://ollama.com/library>. To download a specific model make use of the additional
information available in "Tags" <https://ollama.com/library/mistral/tags>.
Change this via `rollama_model`:

``` r
Expand Down
2 changes: 1 addition & 1 deletion man/embed_text.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/query.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion paper/paper.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h1>Usage</h1>
<pre class="r"><code>library(rollama)
ping_ollama()</code></pre>
<p>After installation, the first step is to pull one of the models from
<a href="https://ollama.ai/library">ollama.ai/library</a> by using the
<a href="https://ollama.com/library">ollama.com/library</a> by using the
model tag. By calling <code>pull_model()</code> without any arguments
will download the default mode</p>
<pre class="r"><code># pull the default model
Expand Down
2 changes: 1 addition & 1 deletion paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ library(rollama)
ping_ollama()
```

After installation, the first step is to pull one of the models from [ollama.ai/library](https://ollama.ai/library) by using the model tag. By calling `pull_model()` without any arguments will download the default model.
After installation, the first step is to pull one of the models from [ollama.com/library](https://ollama.com/library) by using the model tag. By calling `pull_model()` without any arguments will download the default model.

``` r
# pull the default model
Expand Down

0 comments on commit c759e36

Please sign in to comment.