daggerai
Version:
A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.
10 lines • 640 B
TypeScript
import { ZodSchema } from 'zod';
export declare function interpolateVariablesIntoPrompt(prompt: string, variables: object): string;
export declare function convertToXmlTag(label: string, content: string): string;
export declare function logWithColor(message: string, color: LogColor): void;
type LogColor = 'green' | 'yellow' | 'red' | 'blue' | 'magenta' | 'cyan';
export declare function dedent(strings: TemplateStringsArray, ...values: any[]): string;
export declare const removeDiacritics: (text: string) => string;
export declare const convertZodSchemaToJson: (schema: ZodSchema) => any;
export {};
//# sourceMappingURL=helpers.d.ts.map