Class OllamaMessageToolCall
java.lang.Object
me.neurodock.ollama.OllamaMessage
me.neurodock.ollama.OllamaMessageToolCall
Represents a message sent by a Tool.
-
Constructor Summary
ConstructorsConstructorDescriptionOllamaMessageToolCall(OllamaMessageRole role, String content, org.json.JSONArray tool_calls) Creates a new instance of OllamaMessage -
Method Summary
Methods inherited from class OllamaMessage
getContent, getRole
-
Constructor Details
-
OllamaMessageToolCall
Creates a new instance of OllamaMessage- Parameters:
role- The role of the messagecontent- The content of the messagetool_calls- The tool calls in the message
-
-
Method Details
-
toString
- Overrides:
toStringin classOllamaMessage
-