@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
8 lines (7 loc) • 409 B
TypeScript
/**
* @description Builds the id that pairs one tool call's `tool:start` and `tool:end` events.
* @param toolName {string} - Name of the tool being run.
* @param startTime {number} - When the call started, in epoch milliseconds.
* @returns {string} `<toolName>-<startTime>-<nine random base-36 characters>`.
*/
export declare function createToolExecutionId(toolName: string, startTime?: number): string;