@wix-pilot/core
Version:
A flexible plugin that drives your tests with human-written commands, enhanced by the power of large language models (LLMs)
12 lines (11 loc) • 517 B
TypeScript
import { AutoPreviousStep, AutoReviewSectionConfig } from "../../types";
export declare class AutoPerformerPromptCreator {
constructor();
createPrompt(goal: string, viewHierarchy: string, isSnapshotImageAttached: boolean, previousSteps: AutoPreviousStep[], reviewTypes?: AutoReviewSectionConfig[]): string;
private createBasePrompt;
private createContext;
private createInstructions;
private createStepByStepInstructions;
private isPreviousStepError;
private generateReviewSections;
}