@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
14 lines (13 loc) • 601 B
TypeScript
import type { InputParameters } from '../types/Parameters';
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;
};