@memberjunction/ng-ai-test-harness
Version:
MemberJunction AI Test Harness - A reusable component for testing AI agents and prompts with beautiful UX
25 lines • 1.2 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import { Observable } from 'rxjs';
import { TestHarnessWindowManagerService } from './test-harness-window-manager.service';
import { TestResult } from './test-harness-window.service';
import * as i0 from "@angular/core";
/**
* Service for opening AI test harness windows for agents and prompts.
* This service wraps the TestHarnessWindowManagerService to provide a simpler API
* that matches the expected interface in consuming components.
*/
export declare class AITestHarnessDialogService {
private testHarnessService;
constructor(testHarnessService: TestHarnessWindowManagerService);
/**
* Opens the test harness window for an AI Agent
*/
openForAgent(agentId: string, viewContainerRef?: ViewContainerRef): Observable<TestResult>;
/**
* Opens the test harness window for an AI Prompt
*/
openForPrompt(promptId: string, viewContainerRef?: ViewContainerRef): Observable<TestResult>;
static ɵfac: i0.ɵɵFactoryDeclaration<AITestHarnessDialogService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<AITestHarnessDialogService>;
}
//# sourceMappingURL=ai-test-harness-dialog.service.d.ts.map