@clickcns/vmedic-react 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/api/custom-prompts.d.ts +20 -0
- package/dist/cjs/types/api/index.d.ts +1 -0
- package/dist/cjs/types/api/records.d.ts +2 -1
- package/dist/cjs/types/api/speech.d.ts +0 -6
- package/dist/es/types/api/custom-prompts.d.ts +20 -0
- package/dist/es/types/api/index.d.ts +1 -0
- package/dist/es/types/api/records.d.ts +2 -1
- package/dist/es/types/api/speech.d.ts +0 -6
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PromptResult {
|
|
2
|
+
title: string;
|
|
3
|
+
content: string;
|
|
4
|
+
seq: number;
|
|
5
|
+
}
|
|
6
|
+
export interface CustomPrompt {
|
|
7
|
+
id: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
seq: number;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
}
|
|
15
|
+
export interface CustomPromptLLMResult {
|
|
16
|
+
title: string;
|
|
17
|
+
content: string;
|
|
18
|
+
description: string;
|
|
19
|
+
seq: number;
|
|
20
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UserDto } from './auth';
|
|
2
|
+
import { PromptResult } from './custom-prompts';
|
|
2
3
|
import { DiarizationMessage, LlmRoom, MedicalSummaryResponse } from './llm';
|
|
3
|
-
import { AudioFile, Patient
|
|
4
|
+
import { AudioFile, Patient } from './speech';
|
|
4
5
|
export interface RecordsResponse {
|
|
5
6
|
id: string;
|
|
6
7
|
chart: string;
|
|
@@ -21,17 +21,11 @@ export interface UploadRequest extends UploadBlobs {
|
|
|
21
21
|
transcript: string;
|
|
22
22
|
recordId?: string;
|
|
23
23
|
}
|
|
24
|
-
export interface PromptResult {
|
|
25
|
-
title: string;
|
|
26
|
-
result: string;
|
|
27
|
-
seq: number;
|
|
28
|
-
}
|
|
29
24
|
export interface UploadV3Request {
|
|
30
25
|
opusBlob: ArrayBuffer | Blob;
|
|
31
26
|
chart: string;
|
|
32
27
|
transcript: string;
|
|
33
28
|
transcripts: Transcript[];
|
|
34
|
-
promptResults?: PromptResult[];
|
|
35
29
|
durationSeconds: number;
|
|
36
30
|
recordId?: string;
|
|
37
31
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PromptResult {
|
|
2
|
+
title: string;
|
|
3
|
+
content: string;
|
|
4
|
+
seq: number;
|
|
5
|
+
}
|
|
6
|
+
export interface CustomPrompt {
|
|
7
|
+
id: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
seq: number;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
}
|
|
15
|
+
export interface CustomPromptLLMResult {
|
|
16
|
+
title: string;
|
|
17
|
+
content: string;
|
|
18
|
+
description: string;
|
|
19
|
+
seq: number;
|
|
20
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UserDto } from './auth';
|
|
2
|
+
import { PromptResult } from './custom-prompts';
|
|
2
3
|
import { DiarizationMessage, LlmRoom, MedicalSummaryResponse } from './llm';
|
|
3
|
-
import { AudioFile, Patient
|
|
4
|
+
import { AudioFile, Patient } from './speech';
|
|
4
5
|
export interface RecordsResponse {
|
|
5
6
|
id: string;
|
|
6
7
|
chart: string;
|
|
@@ -21,17 +21,11 @@ export interface UploadRequest extends UploadBlobs {
|
|
|
21
21
|
transcript: string;
|
|
22
22
|
recordId?: string;
|
|
23
23
|
}
|
|
24
|
-
export interface PromptResult {
|
|
25
|
-
title: string;
|
|
26
|
-
result: string;
|
|
27
|
-
seq: number;
|
|
28
|
-
}
|
|
29
24
|
export interface UploadV3Request {
|
|
30
25
|
opusBlob: ArrayBuffer | Blob;
|
|
31
26
|
chart: string;
|
|
32
27
|
transcript: string;
|
|
33
28
|
transcripts: Transcript[];
|
|
34
|
-
promptResults?: PromptResult[];
|
|
35
29
|
durationSeconds: number;
|
|
36
30
|
recordId?: string;
|
|
37
31
|
}
|