@mastra/rag
Version:
The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.
8 lines • 365 B
TypeScript
/**
* Formats a string by replacing placeholders with values from the provided parameters.
* @param str The string to format.
* @param params A record of placeholder names to their corresponding values.
* @returns The formatted string.
*/
export declare function format(str: string, params: Record<string, string>): string;
//# sourceMappingURL=format.d.ts.map