Search Results for

    Show / Hide Table of Contents

    Class CitationsContentBlock

    A content block that contains both generated text and associated citation information. This block type is returned when document citations are enabled, providing traceability between the generated content and the source documents that informed the response.

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

    Properties

    | Edit this page View Source

    Citations

    Optional. An array of citations that reference the source documents used to generate the associated content.

    Declaration
    [JsonProperty("citations")]
    public Citation[] Citations { get; set; }
    Property Value
    Type Description
    Citation[]
    | Edit this page View Source

    Content

    Optional. The generated content that is supported by the associated citations.

    Declaration
    [JsonProperty("content")]
    public TextBlock[] Content { get; set; }
    Property Value
    Type Description
    TextBlock[]

    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