UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

17 lines (16 loc) 731 B
import type { string_book } from '../../book-2.0/agent-source/string_book'; import type { ExecutionTools } from '../../execution/ExecutionTools'; import type { string_script } from '../../types/typeAliases'; import type { BookTranspilerOptions } from '../_common/BookTranspilerOptions'; /** * Transpiler to Javascript code using OpenAI SDK. * * @public exported from `@promptbook/core` */ export declare const OpenAiSdkTranspiler: { readonly name: "openai-sdk"; readonly title: "OpenAI SDK"; readonly packageName: "@promptbook/core"; readonly className: "OpenAiSdkTranspiler"; readonly transpileBook: (book: string_book, tools: ExecutionTools, options?: BookTranspilerOptions) => Promise<string_script>; };