Show / Hide Table of Contents

Class CohereToolV2

A definition of tool (function).

Inheritance
object
CohereToolV2
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 CohereToolV2

Properties

Function

Declaration
[Required(ErrorMessage = "Function is required.")]
[JsonProperty(PropertyName = "function")]
public Function Function { get; set; }
Property Value
Type Description
Function
Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public CohereToolV2.TypeEnum? Type { get; set; }
Property Value
Type Description
CohereToolV2.TypeEnum?

The name of the tool to be called. Valid names contain only the characters a-z, A-Z, 0-9, _ and must not begin with a digit.

Remarks

Required

In this article
Back to top