UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

23 lines (22 loc) 622 B
"use strict"; /** * A class to represent an audio transcription entry. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.TranscriptionEntry = void 0; /** * Represents an entry in a transcription, which includes the audio data and optional transcribed text. */ class TranscriptionEntry { /** * Creates a new transcription entry. * * @param params Parameters for the transcription entry */ constructor(params) { this.role = params.role; this.data = params.data; this.text = params.text; } } exports.TranscriptionEntry = TranscriptionEntry;