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

24 lines (23 loc) • 960 B
#!/usr/bin/env node /** * NeuroLink CLI Decide Command * * Calls `NeuroLink.decide()` — the third inference type, alongside `generate` * and `stream`. Takes a `state` plus a map of named typed questions and * prints one calibrated answer per question. See src/lib/types/decision.ts * for the full vocabulary. * * Credentials are env-only here, exactly as every other CLI command: the * decision provider reads its own settings (TYPESAFE_API_KEY, LAYA_API_KEY and * LAYA_BASE_URL, XOR_API_KEY and XOR_BASE_URL, or PERPLEXITY_API_KEY) itself. */ import type { CommandModule } from "yargs"; import type { CliDecideArgs } from "../../types/index.js"; export declare const decideCommand: CommandModule<object, CliDecideArgs>; /** * Create decide command factory for CLICommandFactory-style registration, * matching the EvaluateCommandFactory pattern. */ export declare class DecideCommandFactory { static createDecideCommand(): CommandModule; }