mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-17 12:57:57 +08:00
### What problem does this PR solve? Feat: Filter document by running status and file type. #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
27 lines
547 B
TypeScript
27 lines
547 B
TypeScript
export interface ITestRetrievalRequestBody {
|
|
question: string;
|
|
similarity_threshold: number;
|
|
keywords_similarity_weight: number;
|
|
rerank_id?: string;
|
|
top_k?: number;
|
|
use_kg?: boolean;
|
|
highlight?: boolean;
|
|
kb_id?: string[];
|
|
}
|
|
|
|
export interface IFetchKnowledgeListRequestBody {
|
|
owner_ids?: string[];
|
|
}
|
|
|
|
export interface IFetchKnowledgeListRequestParams {
|
|
kb_id?: string;
|
|
keywords?: string;
|
|
page?: number;
|
|
page_size?: number;
|
|
}
|
|
|
|
export interface IFetchDocumentListRequestBody {
|
|
types?: string[];
|
|
run_status?: string[];
|
|
}
|