aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/components/Recommendation/utils.ts
blob: 796ce0eb05de64fcc4f3159d4863b4d191f1ea0c (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
}