UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

25 lines (24 loc) • 1.06 kB
#!/usr/bin/env node /** * NeuroLink CLI Transcribe Command * * Calls `NeuroLink.transcribe()` — audio in, text out — or, with `--stream`, * `NeuroLink.transcribeStream()` over the file decoded to 16 kHz mono PCM16. * See src/lib/types/transcribe.ts for the full vocabulary (dictionary, * correction, second opinion, fallback). * * Credentials are env-only here, exactly as every other CLI command: each STT * handler reads its own settings, and `NEUROLINK_STT_PROVIDER`, * `NEUROLINK_STT_MODEL` and `NEUROLINK_STT_LANGUAGE` pick the defaults. With * nothing configured the built-in local engine (Whistle) is used. */ import type { CommandModule } from "yargs"; import type { CliTranscribeArgs } from "../../types/index.js"; export declare const transcribeCommand: CommandModule<object, CliTranscribeArgs>; /** * Create transcribe command factory for CLICommandFactory-style registration, * matching the DecideCommandFactory pattern. */ export declare class TranscribeCommandFactory { static createTranscribeCommand(): CommandModule; }