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

@ -7296,7 +7296,7 @@
}
},
"additionalProperties": false,
"title": "FileSearchRankingOptions"
"title": "SearchRankingOptions"
}
},
"additionalProperties": false,
@ -13478,28 +13478,16 @@
},
"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": {