Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
/
PromptAction
Type Alias PromptAction<I>
PromptAction
:
Action
<
I
,
typeof
GenerateRequestSchema
,
ZodNever
>
&
{
__action
:
{
metadata
:
{
type
:
"prompt"
}
}
;
__executablePrompt
:
ExecutablePrompt
<
I
>
;
}
Prompt action.
Type Parameters
I
extends
ZodTypeAny
=
ZodTypeAny
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Prompt action.