aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/components/Recommendation/utils.ts
blob: 4a55d394e400e337680f1d06542370c91eaf5718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { DocumentType } from '../../../../documents/DocumentTypes';

export interface IRecommendation {
    loading?: boolean;
    type?: DocumentType | string;
    data?: string;
    title?: string;
    text?: string;
    source?: string;
    previewUrl?: string;
    transcript?: {
        text: string;
        start: number;
        duration: number;
    }[];
    embedding?: {
        x: number;
        y: number;
    };
    distance?: number;
    related_concepts?: string[];
    docId?: string;
}