langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
23 lines (19 loc) • 521 B
text/typescript
import { PluginDescriptions } from "./plugin";
export type TextToSpeechInitConfig = {
elevenLabsApiKey: string;
defaultVoiceId?: string;
};
export type TextToSpeechRunArgs = {
text: string;
voiceId?: string;
outputFilePath?: string
};
export interface TextToSpeechExpose extends PluginDescriptions {
apiKey: string | null
defaultVoiceId: string
}
export const TextToSpeechPluginTypes = {
runArgs: {} as TextToSpeechRunArgs,
return: {} as any,
expose: {} as TextToSpeechExpose,
};