Class ApiChatCompletionsResponseMessageToolCallFunction

java.lang.Object
de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsResponseMessageToolCallFunction

public final class ApiChatCompletionsResponseMessageToolCallFunction extends Object
The function that the model called.
Since:
8.5.0
  • Method Details

    • arguments

      public String arguments()
      The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
      Returns:
      The function arguments.
    • name

      public String name()
      The name of the function to call.
      Returns:
      The function name.