Class FunctionCallConfig

java.lang.Object
com.azure.ai.openai.models.FunctionCallConfig

public class FunctionCallConfig extends Object
The name and arguments of a function that should be called, as generated by the model.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FunctionCallConfig
    AUTO will indicate the service to call any functions that are necessary for text completion generation.
    static final FunctionCallConfig
    NONE will indicate the service to not call nay of the functions that may have been provided with the request for text completion generation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of FunctionCallConfig class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name property: The name of the function to call.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • AUTO

      public static final FunctionCallConfig AUTO
      AUTO will indicate the service to call any functions that are necessary for text completion generation.
    • NONE

      public static final FunctionCallConfig NONE
      NONE will indicate the service to not call nay of the functions that may have been provided with the request for text completion generation.
  • Constructor Details

    • FunctionCallConfig

      public FunctionCallConfig(String name)
      Creates an instance of FunctionCallConfig class.
      Parameters:
      name - the name value to set.
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the function to call.
      Returns:
      the name value.