Skip to content

Commit

Permalink
Had the wrong method referenced (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell authored Oct 12, 2024
1 parent d4eb297 commit 60c48b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/community-toolkit/ollama.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ When the Ollama container for this integration first spins up, it downloads one
### Cache the LLM

One or more LLMs are downloaded into the container which Ollama is running from, and by default this container is ephemeral. If you need to persist one or more LLMs across container restarts, you need to mount a volume into the container using the `AddDataVolume` method.
One or more LLMs are downloaded into the container which Ollama is running from, and by default this container is ephemeral. If you need to persist one or more LLMs across container restarts, you need to mount a volume into the container using the `WithDataVolume` method.

```csharp
var ollama = builder.AddOllama("ollama")
.AddModel("llama3")
.AddDataVolume();
.WithDataVolume();
```

### Open WebUI support
Expand Down

0 comments on commit 60c48b8

Please sign in to comment.