Class OllamaMessageToolCall

java.lang.Object
me.zacharias.chat.ollama.OllamaMessage
me.zacharias.chat.ollama.OllamaMessageToolCall

public class OllamaMessageToolCall extends OllamaMessage
Represents a message sent by a Tool.
  • Constructor Details

    • OllamaMessageToolCall

      public OllamaMessageToolCall(OllamaMessageRole role, String content, org.json.JSONArray tool_calls)
      Creates a new instance of OllamaMessage
      Parameters:
      role - The role of the message
      content - The content of the message
      tool_calls - The tool calls in the message
  • Method Details