Search Results for

    Show / Hide Table of Contents

    Class AI21FileQuery

    Inheritance
    object
    AI21FileQuery
    Implements
    IRequestParameterProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AI21Labs
    Assembly: Glitch9.AIDevKit.Provider.AI21.dll
    Syntax
    public sealed class AI21FileQuery : IRequestParameterProvider

    Properties

    | Edit this page View Source

    Labels

    Optional. Return only files with this label. Label matching is case-sensitive, and will not match substrings.

    Declaration
    public string[] Labels { get; set; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    Limit

    Optional. The number of files to retrieve (maximum 1,000, default 1,000)

    Declaration
    public int? Limit { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Name

    Optional. The full name of the uploaded file, without any path parameters. So: ??똹doc.txt?? not ??users/benfranklyn/Documents/mydoc.txt?? Does not match name substrings, so ??굊c.txt??does not match ??똹doc.txt??

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Offset

    Optional. The number of files to skip.

    Declaration
    public int? Offset { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Status

    Optional. Status of the file in the library. Supported values: DB_RECORD_CREATED, UPLOADED, UPLOAD_FAILED, PROCESSED, PROCESSING_FAILED

    Declaration
    public FileQueryStatus? Status { get; set; }
    Property Value
    Type Description
    FileQueryStatus?

    Methods

    | Edit this page View Source

    GetRequestParameters()

    Declaration
    public IEnumerable<RequestParameter> GetRequestParameters()
    Returns
    Type Description
    IEnumerable<RequestParameter>

    Implements

    IRequestParameterProvider

    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)
    ResponseCastingExtensions.ToParams(IRequestParameterProvider)
    ResponseCastingExtensions.ToParams(IRequestParameterProvider, params RequestParameter[])
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation