agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
9 lines (8 loc) • 393 B
TypeScript
export interface NumericRange {
readonly first: string;
readonly last: string;
readonly unit?: string;
}
export declare function splitNumericRange(token: string, following?: string): NumericRange | undefined;
/** Measurement ranges augment the existing figure vocabulary on the answer side only. */
export declare function numericRangesOf(answer: string): readonly NumericRange[];