mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-06-20 09:17:18 +02:00
23 lines
372 B
Markdown
23 lines
372 B
Markdown
---
|
|
sidebar_position: 1
|
|
---
|
|
|
|
# Set Verbosity
|
|
|
|
This API lets you set the verbosity of the Ollama client.
|
|
|
|
## Try asking a question about the model.
|
|
|
|
```java
|
|
public class Main {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
String host = "http://localhost:11434/";
|
|
|
|
OllamaAPI ollamaAPI = new OllamaAPI(host);
|
|
|
|
ollamaAPI.setVerbose(true);
|
|
}
|
|
}
|
|
``` |