Search Results for

    Show / Hide Table of Contents

    Class ContainerFile

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

    Properties

    | Edit this page View Source

    Bytes

    Required. Size of the file in bytes.

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

    ContainerId

    Required. The container this file belongs to.

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

    CreatedAt

    Required. Unix timestamp (in seconds) when the file was created.

    Declaration
    [JsonProperty("created_at")]
    public int CreatedAt { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Id

    Required. Unique identifier for the file.

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

    ObjectType

    Required. The type of this object (container.file).

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

    Path

    Required. Path of the file in the container.

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

    Source

    Required. Source of the file (e.g., user, assistant).

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