Get the engine type.
The engine type.
Initialize the machine learning model.
The workflow ID.
A map of model IDs and pathnames.
A promise that resolves when the model has been initialized.
Process a job.
The job parameters.
Optional
options: IGenerativeAIWorkerOptionsThe job options.
A promise that resolves with the job result.
Process a job.
The job parameters.
Optional
options: IGenerativeAIWorkerOptionsThe job options.
A promise that resolves with the job result.
Stream a job.
The job parameters.
Optional
options: IGenerativeAIWorkerOptionsThe job options.
An async generator that yields the job result.
Process a job stream.
The job parameters.
Optional
options: IGenerativeAIWorkerOptionsThe job options.
An async generator that yields job results.
The generative AI worker connector interface.