Class FileSearch
A tool that searches for relevant content from uploaded files.
public class FileSearch : Tool
- Inheritance
-
objectFileSearch
- Inherited Members
Properties
Filters
Optional. A filter to apply. Either a ComparisonFilter or a CompoundFilter.
public IFileSearchFilter Filters { get; set; }
Property Value
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
VectorStoreIds
Required. The IDs of the vector stores to search.
public string[] VectorStoreIds { get; set; }
Property Value
- string[]