Push metadata filters down to Infinity (#14974)

### What problem does this PR solve?

Push metadata filters down to Infinity

### Type of change

- [x] Refactoring
This commit is contained in:
qinling0210
2026-05-18 14:22:04 +08:00
committed by GitHub
parent 7cdc74bbe5
commit f1d2383572
7 changed files with 1148 additions and 572 deletions

View File

@@ -1344,6 +1344,7 @@ async def search_datasets(tenant_id: str, req: dict):
chat_mdl = LLMBundle(tenant_id, chat_model_config)
if meta_data_filter:
logging.debug(f"Metadata filter: {meta_data_filter}, question: {question}, chat_mdl={'None' if chat_mdl is None else chat_mdl.llm_name}")
local_doc_ids = await apply_meta_data_filter(
meta_data_filter,
None,