mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 08:56:47 +08:00
### What problem does this PR solve? Fix: Issue of ineffective weight adjustment for retrieval_test API-related functions #9854 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
27 lines
546 B
TypeScript
27 lines
546 B
TypeScript
export interface ITestRetrievalRequestBody {
|
|
question: string;
|
|
similarity_threshold: number;
|
|
vector_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 {
|
|
suffix?: string[];
|
|
run_status?: string[];
|
|
}
|