@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
7 lines (6 loc) • 595 B
TypeScript
import type { ProxyBodyCaptureEntry, ProxyBodyCapturePolicyOptions, ProxyBodyCapturePolicySnapshot, ProxyBodyCapturePublication, ProxyBodyDeliveryResult, StoredBodyArtifact } from "../types/index.js";
/** Diagnostic-only policy. Never receives or changes an inference body. */
export declare function createProxyBodyCapturePolicy(options?: ProxyBodyCapturePolicyOptions): {
snapshot(): ProxyBodyCapturePolicySnapshot;
publish(entry: ProxyBodyCaptureEntry, stored: StoredBodyArtifact, publish: () => Promise<ProxyBodyDeliveryResult | undefined>): Promise<ProxyBodyCapturePublication>;
};