Class OpenAiFunctionCall

java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.OpenAiFunctionCall
All Implemented Interfaces:
OpenAiToolCall

public final class OpenAiFunctionCall extends Object implements OpenAiToolCall
Represents a function type tool called by an OpenAI model.
Since:
1.6.0
  • Method Details

    • getId

      @Nonnull public String getId()
      The unique identifier for the function call.
    • getName

      @Nonnull public String getName()
      The name of the function to be called.
    • getArguments

      @Nonnull public String getArguments()
      The arguments for the function call, encoded as a JSON string.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object