@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
12 lines (11 loc) • 689 B
TypeScript
/**
* The internal structured-output tool (`final_result`) and the system-prompt
* texts that steer a model to it, from `structured-output.json`.
*/
import type { ProviderFinalResultTool } from "../../types/index.js";
/** Internal tool name, filtered out of every returned tool call and execution. */
export declare const FINAL_RESULT_TOOL_NAME: string;
/** The tool's description, as sent to the model. */
export declare const FINAL_RESULT_TOOL_DESCRIPTION: string;
/** A system-prompt instruction naming the tool (the final-result tool by default). */
export declare function finalResultToolInstruction(kind: keyof ProviderFinalResultTool["instructions"], toolName?: string): string;