mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-30 13:35:17 +08:00

### What problem does this PR solve? Feat: Retrieval test #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
11 lines
240 B
TypeScript
11 lines
240 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[];
|
|
}
|