UNPKG

@promptbook/vercel

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

18 lines (17 loc) 742 B
import { OpenAiCompatibleExecutionTools } from './OpenAiCompatibleExecutionTools'; import type { OpenAiCompatibleExecutionToolsOptions } from './OpenAiCompatibleExecutionToolsOptions'; /** * Execution Tools for calling OpenAI compatible API * * Note: This can be used for any OpenAI compatible APIs * * @public exported from `@promptbook/openai` */ export declare const createOpenAiCompatibleExecutionTools: ((options: OpenAiCompatibleExecutionToolsOptions) => OpenAiCompatibleExecutionTools) & { packageName: string; className: string; }; /** * TODO: [🦺] Is there some way how to put `packageName` and `className` on top and function definition on bottom? * TODO: [🎶] Naming "constructor" vs "creator" vs "factory" */