Feat: Retrieval test #3221 (#7121)

### What problem does this PR solve?

Feat: Retrieval test #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-04-17 19:03:55 +08:00
committed by GitHub
parent db82c15de4
commit 86f76df586
8 changed files with 147 additions and 124 deletions

View File

@ -0,0 +1,10 @@
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[];
}