Type Alias: GatewayInferenceInputFileSearchTool
type GatewayInferenceInputFileSearchTool = {
type: "file_search";
vector_store_ids: string[];
max_num_results?: number;
filters?: | GatewayInferenceInputComparisonFilter
| GatewayInferenceInputCompoundFilter;
ranking_options?: {
ranker?: "auto" | "default-2024-11-15";
score_threshold?: number;
};
};
Defined in: src/models/ai-gateway-inference.ts:2459
Portkey FileSearchTool; strict modeled input with explicit JSON extension maps.
Example
`GatewayInferenceInputFileSearchToolSchema.parse(value);`
Properties
type
type: "file_search";
Defined in: src/models/ai-gateway-inference.ts:2460
vector_store_ids
vector_store_ids: string[];
Defined in: src/models/ai-gateway-inference.ts:2461
max_num_results?
optional max_num_results?: number;
Defined in: src/models/ai-gateway-inference.ts:2462
filters?
optional filters?:
| GatewayInferenceInputComparisonFilter
| GatewayInferenceInputCompoundFilter;
Defined in: src/models/ai-gateway-inference.ts:2463
ranking_options?
optional ranking_options?: {
ranker?: "auto" | "default-2024-11-15";
score_threshold?: number;
};
Defined in: src/models/ai-gateway-inference.ts:2464
ranker?
optional ranker?: "auto" | "default-2024-11-15";
score_threshold?
optional score_threshold?: number;