feat: new retrieval result ui

This commit is contained in:
Joel
2024-12-11 14:29:50 +08:00
parent 4017c65c1f
commit b8ced5102c
9 changed files with 249 additions and 39 deletions

View File

@ -479,10 +479,16 @@ export type HitTestingRecord = {
created_at: number
}
export type HitTestingChildChunk = {
id: string
content: string
score: number
}
export type HitTesting = {
segment: Segment
score: number
tsne_position: TsnePosition
child_chunks?: HitTestingChildChunk[] | null
}
export type ExternalKnowledgeBaseHitTesting = {