forked from neurodock/NeuroDock
f50c04c828
- Renamed package from me.zacharias.chat to me.neurodock across all 8 modules - Updated Gradle group from me.zacharias.neurodock to me.neurodock - Updated README and other files to reflect new Gitea org URL (Chat_things → neurodock) Dev note: 95 files touched. The Great Refactor is complete, long may it rest.
34 lines
778 B
Java
34 lines
778 B
Java
package me.neurodock.api.payload;
|
|
|
|
import me.neurodock.ollama.OllamaPerameter;
|
|
|
|
public class ToolArgument {
|
|
String name;
|
|
String description;
|
|
OllamaPerameter.OllamaPerameterBuilder.Type type;
|
|
boolean required;
|
|
|
|
public ToolArgument(String name, String description, OllamaPerameter.OllamaPerameterBuilder.Type type, boolean required) {
|
|
this.name = name;
|
|
this.description = description;
|
|
this.type = type;
|
|
this.required = required;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public OllamaPerameter.OllamaPerameterBuilder.Type getType() {
|
|
return type;
|
|
}
|
|
|
|
public boolean isRequired() {
|
|
return required;
|
|
}
|
|
}
|