Class GenerativeModel.Response

java.lang.Object
org.episteme.core.mathematics.ml.generative.GenerativeModel.Response
Enclosing interface:
GenerativeModel

public static class GenerativeModel.Response extends Object
Represent a response from the model, which can be text or a tool call.
Since:
2.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • Response

      public Response(String text)
    • Response

      public Response(Tool.Call toolCall)
  • Method Details

    • getText

      public String getText()
    • getToolCall

      public Tool.Call getToolCall()
    • isToolCall

      public boolean isToolCall()