@llumiverse/drivers
Version:
LLM driver implementations. Currently supported are: openai, huggingface, bedrock, replicate.
5 lines (4 loc) • 335 B
TypeScript
import { ExecutionResponse, PromptSegment } from "@llumiverse/core";
export declare function throwError(message: string, prompt: PromptSegment[]): never;
export declare function createValidationErrorCompletion(segments: PromptSegment[]): ExecutionResponse<PromptSegment[]>;
export declare function sleep(ms: number): Promise<unknown>;