Search Results for

    Show / Hide Table of Contents

    Class CohereDocument

    Inheritance
    object
    CohereDocument
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Cohere
    Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
    Syntax
    public class CohereDocument

    Properties

    | Edit this page View Source

    Data

    Required. A relevant document that the model can cite to generate a more accurate reply. Each document is a string-any dictionary.

    Declaration
    [JsonProperty("data")]
    public CohereDocument.DocumentData Data { get; set; }
    Property Value
    Type Description
    CohereDocument.DocumentData
    | Edit this page View Source

    Id

    Optional. Unique identifier for this document which will be referenced in citations. If not provided an ID will be automatically generated.

    Declaration
    [JsonProperty("id")]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    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