Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
ThinkMode.java
Go to the documentation of this file.
1/*
2 * Ollama4j - Java library for interacting with Ollama server.
3 * Copyright (c) 2025 Amith Koujalgi and contributors.
4 *
5 * Licensed under the MIT License (the "License");
6 * you may not use this file except in compliance with the License.
7 *
8*/
9package io.github.ollama4j.models.request;
10
15public enum ThinkMode {
16 DISABLED(Boolean.FALSE),
17 ENABLED(Boolean.TRUE),
18 LOW("low"),
19 MEDIUM("medium"),
20 HIGH("high");
21
22 private final Object value;
23
24 ThinkMode(Object value) {
25 this.value = value;
26 }
27
28 public Object getValue() {
29 return value;
30 }
31}