Show / Hide Table of Contents

Class Function

Details of Function for Function calling tool.

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.GenerativeaiagentService.Models
Assembly: OCI.DotNetSDK.Generativeaiagent.dll
Syntax
public class Function

Properties

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A 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 to invoke.

Remarks

Required

Parameters

Declaration
[JsonProperty(PropertyName = "parameters")]
public Dictionary<string, string> Parameters { get; set; }
Property Value
Type Description
Dictionary<string, string>

The parameters the function accepts, defined using a JSON Schema object. Refer to the guide for examples and the JSON Schema documentation for details on the format.

In this article
Back to top