Search Results for

    Show / Hide Table of Contents

    Class Corpus

    A Corpus is a collection of Documents. A project can create up to 5 corpora.

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

    Properties

    | Edit this page View Source

    CreateTime

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

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

    DisplayName

    Optional. The human-readable display name for the Corpus. The display name must be no more than 512 characters in length, including spaces.

    Example: "Docs on Semantic Retriever"

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

    Name

    Immutable. Identifier. The Corpus resource name. The ID (name excluding the "corpora/" 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/my-awesome-corpora-123a456b789c

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

    UpdateTime

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

    Declaration
    [JsonProperty("updateTime")]
    public ZuluTime? UpdateTime { get; set; }
    Property Value
    Type Description
    ZuluTime?

    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