diff options
author | geireann <geireann.lindfield@gmail.com> | 2023-06-06 14:36:21 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2023-06-06 14:36:21 -0400 |
commit | 3958654925e92b1046b3ed5d49160514b6e48258 (patch) | |
tree | db02b6e74a03306be67b5e6071fa2272b1f7fc66 /src/client/views/newlightbox/components/Recommendation/utils.ts | |
parent | 0fc47fefcb72592bd34e238949db9e98a84b8a63 (diff) |
added rec stuff and begun updating components
Diffstat (limited to 'src/client/views/newlightbox/components/Recommendation/utils.ts')
-rw-r--r-- | src/client/views/newlightbox/components/Recommendation/utils.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/client/views/newlightbox/components/Recommendation/utils.ts b/src/client/views/newlightbox/components/Recommendation/utils.ts new file mode 100644 index 000000000..796ce0eb0 --- /dev/null +++ b/src/client/views/newlightbox/components/Recommendation/utils.ts @@ -0,0 +1,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 +}
\ No newline at end of file |