Class OllamaToolRespnce

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

public class OllamaToolRespnce extends OllamaMessage
Represents a response from a tool.
  • Constructor Details

    • OllamaToolRespnce

      public OllamaToolRespnce(String tool, String response)
      Creates a new instance of OllamaToolRespnce.
      Parameters:
      tool - The tool that responded
      response - The response from the tool
  • Method Details

    • getTool

      public String getTool()
      Gets the tool that responded.
      Returns:
      The tool that responded
    • getResponse

      public String getResponse()
      Gets the response from the tool.
      Returns:
      The response from the tool