OpenApiFunctionDefinitionFunction Class
- java.
lang. Object - com.
azure. ai. agents. models. OpenApiFunctionDefinitionFunction
- com.
Implements
public final class OpenApiFunctionDefinitionFunction
implements JsonSerializable<OpenApiFunctionDefinitionFunction>
The OpenApiFunctionDefinitionFunction model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Open |
fromJson(JsonReader jsonReader)
Reads an instance of Open |
| String |
getDescription()
Get the description property: A description of what the function does, used by the model to choose when and how to call the function. |
| String |
getName()
Get the name property: The name of the function to be called. |
|
Map<String,Binary |
getParameters()
Get the parameters property: The parameters the functions accepts, described as a JSON Schema object. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static OpenApiFunctionDefinitionFunction fromJson(JsonReader jsonReader)
Reads an instance of OpenApiFunctionDefinitionFunction from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: A description of what the function does, used by the model to choose when and how to call the function.
Returns:
getName
public String getName()
Get the name property: The name of the function to be called.
Returns:
getParameters
public Map<String,BinaryData> getParameters()
Get the parameters property: The parameters the functions accepts, described as a JSON Schema object.
Returns: