Class OllamaPerameter
java.lang.Object
me.zacharias.chat.ollama.OllamaPerameter
Represents the parameters of a tool.
This is used by Ollama to determine the parameters of a tool.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new instance ofOllamaPerameter.OllamaPerameterBuilder.org.json.JSONObjectGets the properties of theOllamaPerameterString[]Gets the required parameters of theOllamaPerametertoString()
-
Method Details
-
toString
-
getProperties
public org.json.JSONObject getProperties()Gets the properties of theOllamaPerameter- Returns:
- The properties of the
OllamaPerameter
-
getRequired
Gets the required parameters of theOllamaPerameter- Returns:
- The required parameters of the
OllamaPerameter
-
builder
Creates a new instance ofOllamaPerameter.OllamaPerameterBuilder.- Returns:
- The
OllamaPerameter.OllamaPerameterBuilder
-