UNPKG

@ts-dspy/core

Version:

Core library for building type-safe LLM applications with structured input/output signatures, automatic validation, and reasoning patterns within TypeScript

10 lines 321 B
import { TraceEntry } from '../types/module'; export declare class Prediction<T = Record<string, any>> { private _data; trace?: TraceEntry; constructor(data: T, trace?: TraceEntry); get<K extends keyof T>(key: K): T[K]; toObject(): T; toString(): string; } //# sourceMappingURL=prediction.d.ts.map