Show / Hide Table of Contents

Class Function

The function to be executed.

Inheritance
object
Function
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top