@ts-dspy/core
Version:
Core library for building type-safe LLM applications with structured input/output signatures, automatic validation, and reasoning patterns within TypeScript
12 lines • 388 B
TypeScript
export declare class Example {
private _data;
private _inputKeys?;
constructor(data: Record<string, any>);
get(key: string): any;
set(key: string, value: any): void;
withInputs(...inputKeys: string[]): Example;
getInputs(): Record<string, any>;
getOutputs(): Record<string, any>;
toObject(): Record<string, any>;
}
//# sourceMappingURL=example.d.ts.map