UNPKG

@elimeleth/vct-layers

Version:

Crea un archivo app.ts, coloca el codigo de abajo alli y luego puedes correrlo con `npx tsx src/app.ts`

12 lines (11 loc) 441 B
import { Context, InternalMethods } from "@elimeleth/vct-flow"; export default class STT { static fn(path: string, provider: "groq" | "openai", confs?: { model?: string; prompt?: string; }): Promise<string>; static layer(listen_msg?: string, provider?: "groq" | "openai", confs?: { model?: string; prompt?: string; }): (ctx: Context, { send, state }: InternalMethods<any>) => Promise<void>; }