Class Function
The function to be executed.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class Function
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description of the function. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the function. |
Remarks
Required
Parameters
Declaration
[Required(ErrorMessage = "Parameters is required.")]
[JsonProperty(PropertyName = "parameters")]
public object Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| object | The parameters of the function as JSON schema. |
Remarks
Required