Package com.google.genkit.prompt
Interface ExecutablePrompt.GenerateObjectFunction
- 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 generateObject function. This allows
ExecutablePrompt to use Genkit.generateObject() for typed structured output.
-
Method Summary
Modifier and TypeMethodDescriptiongenerateObject(GenerateOptions<?> options, Class<?> outputClass)
-
Method Details
-
generateObject
- Throws:
GenkitException
-