@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
22 lines (21 loc) • 911 B
TypeScript
/**
* workflow/core/responseConditioner.ts
* Response conditioning and synthesis
*
* Uses judge feedback and ensemble responses to synthesize an improved final response.
* Combines strengths from multiple responses based on evaluation insights.
*/
import type { ConditioningConfig, ConditionOptions, ConditionResult } from "../../types/index.js";
/**
* Condition response by synthesizing improved version using judge feedback
*
* @param options - Conditioning options including all responses and judge feedback
* @returns Conditioned result with synthesized improved content
*/
export declare function conditionResponse(options: ConditionOptions): Promise<ConditionResult>;
/**
* Check if conditioning is enabled
* @param config - Conditioning configuration
* @returns True if conditioning should be applied
*/
export declare function isConditioningEnabled(config?: ConditioningConfig): boolean;