Search Results for

    Show / Hide Table of Contents

    Class FileSearch

    A tool that searches for relevant content from uploaded files.

    Inheritance
    object
    Tool
    FileSearch
    Inherited Members
    Tool.Type
    Tool.TryGetToolName(out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class FileSearch : Tool

    Properties

    | Edit this page View Source

    Filters

    Optional. A filter to apply. Either a ComparisonFilter or a CompoundFilter.

    Declaration
    [JsonProperty("filters")]
    public IFileSearchFilter Filters { get; set; }
    Property Value
    Type Description
    IFileSearchFilter
    | Edit this page View Source

    MaxNumResults

    Optional. The maximum number of results to return. This number should be between 1 and 50 inclusive.

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

    Ranking

    Optional. Ranking options for search.

    Declaration
    [JsonProperty("ranking_options")]
    public FileSearch.RankingOptions Ranking { get; set; }
    Property Value
    Type Description
    FileSearch.RankingOptions
    | Edit this page View Source

    VectorStoreIds

    Required. The IDs of the vector stores to search.

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