Introduce filters in the chat completions

This commit is contained in:
Clément Renault
2025-06-24 17:33:24 +02:00
committed by Kerollmops
parent f4f333dbf6
commit 662c5d9871
4 changed files with 19 additions and 2 deletions

View File

@ -203,6 +203,10 @@ fn setup_search_tool(
// "type": ["string", "null"],
"type": "string",
"description": prompts.search_q_param,
},
"filter": {
"type": "string",
"description": prompts.search_filter_param,
}
},
"required": ["index_uid", "q"],