@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
16 lines (15 loc) • 649 B
TypeScript
/**
* Prompt compilation for the autoresearch worker.
*
* Reads program.md and combines it with current state and recent
* results to build the system prompt and per-cycle prompt.
*/
import type { ResearchConfig, ResearchState, ExperimentRecord } from "../types/index.js";
export declare class PromptCompiler {
private config;
constructor(config: ResearchConfig);
/** Reads program.md and builds the system prompt */
buildSystemPrompt(): Promise<string>;
/** Builds the per-cycle prompt with current state + recent results */
buildCyclePrompt(state: ResearchState, recentResults: ExperimentRecord[]): Promise<string>;
}