Class CohereThinkingV2
Configuration for reasoning features.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class CohereThinkingV2
Properties
TokenBudget
Declaration
[JsonProperty(PropertyName = "tokenBudget")]
public int? TokenBudget { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The maximum number of tokens the model can use for thinking, which must be set to a positive integer. The model will stop thinking if it reaches the thinking token budget and will proceed with the response. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public CohereThinkingV2.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CohereThinkingV2.TypeEnum? | Reasoning is enabled by default for models that support it, but can be turned off by setting type = disbaled. |
Remarks
Required