adk-typescript
Version:
TypeScript port of Google's Agent Development Kit (ADK)
22 lines (21 loc) • 646 B
TypeScript
/**
* A transcription entry represents audio or text content that needs to be transcribed.
*/
export declare class TranscriptionEntry {
/** Audio data as a binary buffer or a string */
audioData?: ArrayBuffer | string;
/** Text content */
textContent?: string;
/** Metadata for the transcription */
metadata?: Record<string, any>;
/**
* Creates a new instance of TranscriptionEntry.
*
* @param params The parameters for the transcription entry.
*/
constructor(params: {
audioData?: ArrayBuffer | string;
textContent?: string;
metadata?: Record<string, any>;
});
}