import { ChatMessage, FunctionSpecification, LanguageModelProgramExecutor, LanguageModelProgramExecutorExecuteOptions } from "."; import { RequestOptions } from "openai/core"; /** * Given a Langague Executor that takes an execute (but cannot handle OpeanAI function calls, use the generic language model chat to execute function calls). */ export declare class FunctionToContentConverter { private executor; constructor(executor: LanguageModelProgramExecutor); executeWithFunctionCall(messages: ChatMessage[], completionParams: LanguageModelProgramExecutorExecuteOptions, functions: FunctionSpecification[], requestOptions: RequestOptions): Promise<{ content: string; functionCall: { name: string; arguments: string; }; parsedArguments: any; }>; private messagesWithFunctionCallInstruction; private messagesWithJsonCommand; }