Class CohereOptions
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public sealed class CohereOptions : ITextRequestOptions, IProviderRequestOptions
Properties
| Edit this page View SourceCitationMode
Optional. Citations are enabled by default for models that support it, but can be turned off by setting "type": "disabled".
Declaration
public CitationMode? CitationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| CitationMode? |
Priority
Optional. Controls request processing priority.
Declaration
public int? Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SafetyMode
Optional. Used to select the safety instruction inserted into the prompt.
Defaults to CONTEXTUAL. When OFF is specified, the safety instruction will be omitted.
Safety modes are not yet configurable in combination with tools and documents parameters.
Note: This parameter is only compatible newer Cohere models, starting with Command R 08-2024 and Command R+ 08-2024.
Allowed values: CONTEXTUAL, STRICT, OFF
Declaration
public string SafetyMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |