Table of Contents

Class FileSearch

Namespace
Glitch9.AIDevKit

A tool that searches for relevant content from uploaded files.

public class FileSearch : Tool
Inheritance
object
FileSearch
Inherited Members

Properties

Filters

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

public IFileSearchFilter Filters { get; set; }

Property Value

IFileSearchFilter

MaxNumResults

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

public int? MaxNumResults { get; set; }

Property Value

int?

Ranking

Optional. Ranking options for search.

public FileSearch.RankingOptions Ranking { get; set; }

Property Value

FileSearch.RankingOptions

VectorStoreIds

Required. The IDs of the vector stores to search.

public string[] VectorStoreIds { get; set; }

Property Value

string[]