Correctly support document templates on the chat API

This commit is contained in:
Clément Renault
2025-05-21 15:32:34 +02:00
parent c6930c8819
commit 75c3f33478
8 changed files with 72 additions and 52 deletions

View File

@ -882,7 +882,7 @@ pub fn add_search_rules(filter: &mut Option<Value>, rules: IndexSearchRules) {
}
}
fn prepare_search<'t>(
pub fn prepare_search<'t>(
index: &'t Index,
rtxn: &'t RoTxn,
query: &'t SearchQuery,