Class OllamaToolRespnce
java.lang.Object
me.zacharias.chat.ollama.OllamaMessage
me.zacharias.chat.ollama.OllamaToolRespnce
Represents a response from a tool.
-
Constructor Summary
ConstructorsConstructorDescriptionOllamaToolRespnce(String tool, String response) Creates a new instance ofOllamaToolRespnce. -
Method Summary
Modifier and TypeMethodDescriptionGets the response from the tool.getTool()Gets the tool that responded.Methods inherited from class OllamaMessage
getContent, getRole, toString
-
Constructor Details
-
OllamaToolRespnce
Creates a new instance ofOllamaToolRespnce.- Parameters:
tool- The tool that respondedresponse- The response from the tool
-
-
Method Details
-
getTool
-
getResponse
-