AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class Document

    A Document is a collection of Chunks. A Corpus can have a maximum of 10,000 Documents.

    Inheritance
    object
    Document
    Namespace: Glitch9.AIDevKit.Google
    Assembly: .dll
    Syntax
    public class Document

    Properties

    CreateTime

    Output only. The Timestamp of when the Document was created.

    Declaration
    public ZuluTime? CreateTime { get; set; }
    Property Value
    Type Description
    ZuluTime?

    CustomMetadata

    Optional. User provided custom metadata stored as key-value pairs used for querying. A Document can have a maximum of 20 CustomMetadata.

    Declaration
    public Dictionary<string, CustomMetadataValue> CustomMetadata { get; set; }
    Property Value
    Type Description
    Dictionary<string, CustomMetadataValue>

    DisplayName

    Optional. The human-readable display name for the Document. The display name must be no more than 512 characters in length, including spaces. Example: "Semantic Retriever Documentation"

    Declaration
    public string DisplayName { get; set; }
    Property Value
    Type Description
    string

    Name

    Immutable. Identifier. The Document resource name. The ID (name excluding the "corpora/*/documents/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from displayName along with a 12 character random suffix. Example: corpora/{corpus_id}/documents/my-awesome-doc-123a456b789c

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    UpdateTime

    Output only. The Timestamp of when the Document was last updated.

    Declaration
    public ZuluTime? UpdateTime { get; set; }
    Property Value
    Type Description
    ZuluTime?
    In this article
    Back to top Generated by DocFX