Package com.google.genkit.prompt
Interface ExecutablePrompt.GenerateFunction
- Enclosing class:
ExecutablePrompt<I>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for the generate function. This allows ExecutablePrompt
to use Genkit.generate() for tool/interrupt support.
-
Method Summary
-
Method Details
-
generate
- Throws:
GenkitException
-