@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
17 lines (16 loc) • 678 B
TypeScript
import type { InputParameters } from '../types/typeAliases';
import type { ExecutionTask } from './ExecutionTask';
/**
* Executor is a simple async function that takes INPUT PARAMETERs and returns result parameters _(along with all intermediate parameters and INPUT PARAMETERs = it extends input object)_.
* Executor is made by combining execution tools and pipeline collection.
*
* It can be created with `createPipelineExecutor` function.
*
* @see https://github.com/webgptorg/promptbook#executor
*/
export type PipelineExecutor = {
(inputParameters: InputParameters): ExecutionTask;
};
/**
* TODO: [🧠] Should this file be in /execution or /types folder?
*/