Genkit JS API reference
Preparing search index...
genkit
model
BackgroundModelAction
Type Alias BackgroundModelAction<CustomOptionsSchema>
BackgroundModelAction
:
BackgroundAction
<
typeof
GenerateRequestSchema
,
typeof
GenerateResponseSchema
,
>
&
{
__configSchema
:
CustomOptionsSchema
}
An action that represents a generative AI model that runs in the background (asynchronously).
Type Parameters
CustomOptionsSchema
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
An action that represents a generative AI model that runs in the background (asynchronously).