Class FileSearch
A tool that searches for relevant content from uploaded files.
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class FileSearch : Tool
Properties
| Edit this page View SourceFilters
Optional. A filter to apply. Either a ComparisonFilter or a CompoundFilter.
Declaration
[JsonProperty("filters")]
public IFileSearchFilter Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| IFileSearchFilter |
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? |
Ranking
Optional. Ranking options for search.
Declaration
[JsonProperty("ranking_options")]
public FileSearch.RankingOptions Ranking { get; set; }
Property Value
| Type | Description |
|---|---|
| FileSearch.RankingOptions |
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[] |