Show / Hide Table of Contents

Class CohereParameterDefinition

A definition of tool parameter.

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

Properties

Description

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

The description of the parameter.

IsRequired

Declaration
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
Type Description
bool?

Denotes whether the parameter is always present (required) or not. Defaults to not required.

Type

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

The type of the parameter. Must be a valid Python type.

Remarks

Required

In this article
Back to top