Class CohereToolV2
A definition of tool (function).
Inherited Members
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