Search Results for

    Show / Hide Table of Contents

    Class DocumentBlock.DocumentSource

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

    Properties

    | Edit this page View Source

    Base64Bytes

    Optional. The raw bytes for the document. If you use an AWS SDK, you don't need to encode the bytes in base64.

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

    Content

    Optional. The structured content of the document source, which may include various content blocks such as text, images, or other document elements.

    Declaration
    [JsonProperty("content")]
    public TextBlock[] Content { get; set; }
    Property Value
    Type Description
    TextBlock[]
    | Edit this page View Source

    S3Location

    Optional. The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

    Declaration
    [JsonProperty("s3Location")]
    public AmazonTypes.S3Location S3Location { get; set; }
    Property Value
    Type Description
    AmazonTypes.S3Location
    | Edit this page View Source

    Text

    Optional. The text content of the document source.

    Declaration
    [JsonProperty("text")]
    public string Text { 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