sfdx-hardis
Version:
Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards
17 lines (16 loc) • 724 B
TypeScript
import { PromptTemplate } from "./promptTemplates.js";
export declare class UtilsAi {
static isOpenAiAvailable(): boolean;
static isLangChainAvailable(): boolean;
static isAgentforceAvailable(): boolean;
static getPromptsLanguage(): string;
static findAiCache(template: PromptTemplate, promptParameters: any[], uniqueId: string): Promise<{
success: boolean;
cacheText?: string;
fingerPrint: string;
aiCacheDirFile: string;
}>;
static writeAiCache(template: PromptTemplate, promptParameters: any[], uniqueId: string, aiCacheText: string): Promise<void>;
static getFingerPrint(promptParameters: any[]): string;
static normalizeString(str: string): string;
}