UNPKG

jevrun

Version:

Run natural-language browser tasks on a Playwright page using Jev decisions.

12 lines (11 loc) • 353 B
import { type EntryType } from "@typesafe-ai/sdk"; export interface Decision { choice: string; confidence: number; } export declare function decide(state: EntryType, criteria: Record<string, string>, options: { apiKey: string; model: string; timeoutMs: number; minConfidence: number; }, instructions: string): Promise<Decision>;