FunctionCallConfig Class

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

public class FunctionCallConfig

The name and arguments of a function that should be called, as generated by the model.

Field Summary

Modifier and Type Field and Description
static final FunctionCallConfig AUTO

AUTO will indicate the service to call any functions that are necessary for text completion generation.

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 Summary

Constructor Description
FunctionCallConfig(String name)

Creates an instance of FunctionCallConfig class.

Method Summary

Modifier and Type Method and Description
String getName()

Get the name property: The name of the function to call.

Methods inherited from java.lang.Object

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.

Applies to