Type alias: Chain<Args, Result>
Chain<
Args
,Result
>: (args
) =>Promise
<Result
>
Type parameters
Parameter |
---|
Args extends Record <string , any > |
Result extends any |
A prompt chain that coordinates the template, functions, and validator.
Parameters
Parameter | Type |
---|---|
args | Args |
Returns
Promise
<Result
>