Added semi-automatic mode to the metadata filter (#11886)

### What problem does this PR solve?

Retrieval metadata filtering adds semi-automatic mode, and users can
manually check the metadata key that participates in LLM to generate
filter conditions.
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
TeslaZY
2025-12-11 10:45:21 +08:00
committed by GitHub
parent a6afb7dfe2
commit c610bb605a
12 changed files with 246 additions and 3 deletions

View File

@ -7,6 +7,16 @@ export interface ITestRetrievalRequestBody {
use_kg?: boolean;
highlight?: boolean;
kb_id?: string[];
meta_data_filter?: {
logic?: string;
method?: string;
manual?: Array<{
key: string;
op: string;
value: string;
}>;
semi_auto?: string[];
};
}
export interface IFetchKnowledgeListRequestBody {