Appearance
Interface: AppAi
The models of the install's vendors, through the host (ctx.ai). Synchronous from here, as every host function: the host sends the request while the module waits. A request that has no answer throws an AiError, whose retryable and retryAfterMs an action's failure passes on.
Methods
decide()
ts
decide(request): AiDecideResult;Parameters
request
Returns
generate()
ts
generate(request): AiGenerateResult;