Skip to main content

@dialstack/sdk-dev / js/src / Transcript

Interface: Transcript

Defined in: sdk/js/src/types/components.ts:707

Call transcript data

Properties​

call_id​

TypeScript
call_id: string;

Defined in: sdk/js/src/types/components.ts:708


sentiment​

TypeScript
sentiment: Sentiment | null;

Defined in: sdk/js/src/types/components.ts:715

Sentiment derived from the transcript. Null while transcription is incomplete, or when the analysis did not produce a usable result.


status​

TypeScript
status: TranscriptStatus;

Defined in: sdk/js/src/types/components.ts:709


text​

TypeScript
text: string | null;

Defined in: sdk/js/src/types/components.ts:710


utterances?​

TypeScript
utterances?: TranscriptUtterance[] | null;

Defined in: sdk/js/src/types/components.ts:721

The transcript as timed utterances, in start order. Null until transcription completes, and for transcripts created before utterances were introduced.