mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
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:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user