mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-14 17:38:58 +02:00
24 lines
616 B
Markdown
24 lines
616 B
Markdown
---
|
|
sidebar_position: 3
|
|
---
|
|
|
|
import CodeEmbed from '@site/src/components/CodeEmbed';
|
|
|
|
# Pull Model
|
|
|
|
This API lets you pull a model on the Ollama server.
|
|
|
|
<CodeEmbed
|
|
src='https://raw.githubusercontent.com/ollama4j/ollama4j-examples/refs/heads/main/src/main/java/io/github/ollama4j/examples/PullModel.java'>
|
|
</CodeEmbed>
|
|
|
|
Once downloaded, you can see them when you use [list models](./list-models) API.
|
|
|
|
:::info
|
|
|
|
You can even pull models using Ollama model library APIs. This looks up the models directly on the Ollama model library page. Refer
|
|
to [this](./list-library-models#pull-model-using-librarymodeltag).
|
|
|
|
:::
|
|
|