Search Results for

    Show / Hide Table of Contents

    Class FileSearchResult

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

    Properties

    | Edit this page View Source

    Attributes

    Optional. Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.

    Declaration
    [JsonProperty("attributes")]
    public ServerDictionary Attributes { get; set; }
    Property Value
    Type Description
    ServerDictionary
    | Edit this page View Source

    FileId

    Optional. The unique ID of the file.

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

    Filename

    Optional. The name of the file.

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

    Score

    Optional. The relevance score of the file - a value between 0 and 1.

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

    Text

    Optional. The text that was retrieved from the file.

    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