ollama4j/docs/docs/apis-extras/verbosity.md
Amith Koujalgi 41a5bb70bf Updated docs
2023-12-26 20:30:07 +05:30

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);
}
}
```