Search Results for

    Show / Hide Table of Contents

    Class Citations

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

    Properties

    | Edit this page View Source

    ContentIndex

    Optional. Index of the content block in which this citation appears.

    Declaration
    [JsonProperty("content_index")]
    public int? ContentIndex { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    End

    Optional. End index of the cited snippet in the original source text.

    Declaration
    [JsonProperty("end")]
    public int? End { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Sources

    Optional. A list of citation sources (tool or document).

    Declaration
    [JsonProperty("sources")]
    public CitationSource[] Sources { get; set; }
    Property Value
    Type Description
    CitationSource[]
    | Edit this page View Source

    Start

    Optional. Start index of the cited snippet in the original source text.

    Declaration
    [JsonProperty("start")]
    public int? Start { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Text

    Optional. Text snippet that is being cited.

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    Optional. The type of citation which indicates what part of the response the citation is for.

    Declaration
    [JsonProperty("type")]
    public CitationType? Type { get; set; }
    Property Value
    Type Description
    CitationType?

    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