UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

19 lines (18 loc) 475 B
import { PluginDescriptions } from "./plugin"; export type SpeechToTextInitConfig = { openAIApiKey: string; openAIModel?: string; }; export type SpeechToTextRunArgs = { audioFilePath: string; prompt?: string; }; export interface SpeechToTextExpose extends PluginDescriptions { apiKey: string | null; model: string; } export declare const SpeechToTextPluginTypes: { runArgs: SpeechToTextRunArgs; return: any; expose: SpeechToTextExpose; };