UNPKG

adk-typescript

Version:

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

15 lines (14 loc) 516 B
import { InvocationContext } from '../../agents/InvocationContext'; import { Content } from '../../models/types'; /** * A class to handle audio transcription. */ export declare class AudioTranscriber { /** * Transcribe the audio data from the invocation context. * * @param invocationContext The invocation context containing transcription cache * @returns Transcribed content suitable for sending to the model */ transcribeFile(invocationContext: InvocationContext): Content[]; }