Uses of Class
com.google.genkit.prompt.ExecutablePrompt
Packages that use ExecutablePrompt
-
Uses of ExecutablePrompt in com.google.genkit
Methods in com.google.genkit that return ExecutablePromptModifier and TypeMethodDescriptionLoads a prompt by name using a Map as input type.<I> ExecutablePrompt<I> Loads a prompt by name from the prompts directory.<I> ExecutablePrompt<I> Loads a prompt by name with an optional variant. -
Uses of ExecutablePrompt in com.google.genkit.prompt
Methods in com.google.genkit.prompt that return ExecutablePromptModifier and TypeMethodDescriptionExecutablePrompt.withGenerateFunction(ExecutablePrompt.GenerateFunction generateFunction) Sets the generate function to use Genkit.generate() for tool/interrupt support.ExecutablePrompt.withGenerateObjectFunction(ExecutablePrompt.GenerateObjectFunction generateObjectFunction) Sets the generateObject function to use Genkit.generateObject() for typed structured output.