Class CohereTool
A definition of tool (function).
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class CohereTool
Properties
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of what the tool does, the model uses the description to choose when and how to call the function. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | 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
ParameterDefinitions
Declaration
[JsonProperty(PropertyName = "parameterDefinitions")]
public Dictionary<string, CohereParameterDefinition> ParameterDefinitions { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, CohereParameterDefinition> | The input parameters of the tool. |