Search Results for

    Show / Hide Table of Contents

    Class CohereOptions

    Inheritance
    object
    CohereOptions
    Implements
    ITextRequestOptions
    IProviderRequestOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Cohere
    Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
    Syntax
    public sealed class CohereOptions : ITextRequestOptions, IProviderRequestOptions

    Properties

    | Edit this page View Source

    CitationMode

    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?
    | Edit this page View Source

    Priority

    Optional. Controls request processing priority.

    Declaration
    public int? Priority { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    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

    Implements

    ITextRequestOptions
    IProviderRequestOptions

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation