mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-11-03 10:00:41 +01:00
Added new documentation for 'chat-with-thinking' and 'generate-thinking' APIs, including usage examples and streamed output. Updated existing API docs to improve example clarity, response formatting, and added more interactive output using TypewriterTextarea. Removed deprecated 'list-library-models' doc and made minor README updates.
24 lines
530 B
Markdown
24 lines
530 B
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
import CodeEmbed from '@site/src/components/CodeEmbed';
|
|
|
|
# List Library Models
|
|
|
|
This API lets you list downloaded/available models on the Ollama server.
|
|
|
|
<CodeEmbed
|
|
src='https://raw.githubusercontent.com/ollama4j/ollama4j-examples/refs/heads/main/src/main/java/io/github/ollama4j/examples/ListLocalModels.java'>
|
|
</CodeEmbed>
|
|
|
|
|
|
If you have any models already downloaded on Ollama server, you would have them listed as follows:
|
|
|
|
```bash
|
|
llama2:latest
|
|
llama3.2:1b
|
|
qwen2:0.5b
|
|
qwen:0.5b
|
|
sqlcoder:latest
|
|
``` |