diff --git a/web/app/components/datasets/hit-testing/components/child-chunks-item.tsx b/web/app/components/datasets/hit-testing/components/child-chunks-item.tsx index 052d270b3fa2fb..0d9b178a63f646 100644 --- a/web/app/components/datasets/hit-testing/components/child-chunks-item.tsx +++ b/web/app/components/datasets/hit-testing/components/child-chunks-item.tsx @@ -14,13 +14,13 @@ const ChildChunks: FC = ({ payload, isShowAll, }) => { - const { id, score, content } = payload + const { id, score, content, position } = payload return (
-
C-{id}
+
C-{position}
{content} diff --git a/web/models/datasets.ts b/web/models/datasets.ts index 0dbc2938a2d6d6..c4b706fc85866f 100644 --- a/web/models/datasets.ts +++ b/web/models/datasets.ts @@ -482,6 +482,7 @@ export type HitTestingRecord = { export type HitTestingChildChunk = { id: string content: string + position: number score: number } export type HitTesting = {