@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
5 lines (4 loc) • 370 B
TypeScript
import { ExtendedActionContext } from './types';
import { PromptAction } from './PromptAction';
export declare function executePromptAction<I, O>(promptAction: PromptAction<I, O>, params: I, context: ExtendedActionContext): Promise<O>;
export declare function testPromptRouting(promptAction: PromptAction<any, any>, params: any, context: ExtendedActionContext): string;