feat: support filters in file search

# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-06-18 20:40:34 -07:00
parent 90d03552d4
commit 1c56b9133a
13 changed files with 449 additions and 63 deletions

View file

@ -5179,7 +5179,7 @@ components:
type: number
default: 0.0
additionalProperties: false
title: FileSearchRankingOptions
title: SearchRankingOptions
additionalProperties: false
required:
- type
@ -9408,14 +9408,13 @@ components:
Maximum number of results to return (1 to 50 inclusive, default 10).
ranking_options:
type: object
additionalProperties:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
properties:
ranker:
type: string
score_threshold:
type: number
default: 0.0
additionalProperties: false
description: >-
Ranking options for fine-tuning the search results.
rewrite_query: