@agentica/benchmark
Version:
Agentic AI Library specialized in LLM Function Calling
21 lines (20 loc) • 571 B
TypeScript
/**
* @module
* This file contains functions to work with AgenticaBenchmarkUtil.
*
* @author Wrtn Technologies
*/
import type { IAgenticaBenchmarkExpected } from "../structures/IAgenticaBenchmarkExpected";
export declare const AgenticaBenchmarkUtil: {
errorToJson: typeof errorToJson;
expectedToJson: typeof expectedToJson;
};
declare function errorToJson<T>(error: T): T | ({
[k in keyof T]: T[k];
} & {
name: string;
message: string;
stack: string;
});
declare function expectedToJson(expected: IAgenticaBenchmarkExpected): any;
export {};