FunctionDefinition interface
The input definition information for a function.
Properties
description | A description of what the function does, used by the model to choose when and how to call the function. |
name | The name of the function to be called. |
parameters | The parameters the functions accepts, described as a JSON Schema object. |
Property Details
description
A description of what the function does, used by the model to choose when and how to call the function.
description: string
Property Value
string
name
The name of the function to be called.
name: string
Property Value
string
parameters
The parameters the functions accepts, described as a JSON Schema object.
parameters: unknown
Property Value
unknown
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript