Genkit JS API reference
Preparing search index...
genkit
plugin
backgroundModel
Function backgroundModel
backgroundModel
<
CustomOptionsSchema
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
>
(
options
:
DefineBackgroundModelOptions
<
CustomOptionsSchema
>
,
)
:
BackgroundModelAction
<
CustomOptionsSchema
>
Defines a new model that runs in the background.
Type Parameters
CustomOptionsSchema
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
Parameters
options
:
DefineBackgroundModelOptions
<
CustomOptionsSchema
>
Returns
BackgroundModelAction
<
CustomOptionsSchema
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Defines a new model that runs in the background.