Uses of Class
com.google.genkit.ai.GenerateOptions
Packages that use GenerateOptions
-
Uses of GenerateOptions in com.google.genkit
Methods in com.google.genkit with parameters of type GenerateOptionsModifier and TypeMethodDescription<T> TGenkit.generate(GenerateOptions options) Generates a model response using the specified options.<T> TGenkit.generateObject(GenerateOptions options) Generates a structured output from the model, returning a typed object.<T> TGenkit.generateObject(GenerateOptions<?> options, Class<T> outputClass) Generates a structured output from the model, returning a typed object.Genkit.generateStream(GenerateOptions<?> options, Consumer<ModelResponseChunk> streamCallback) Generates a streaming model response using the specified options. -
Uses of GenerateOptions in com.google.genkit.ai
Methods in com.google.genkit.ai that return GenerateOptions -
Uses of GenerateOptions in com.google.genkit.prompt
Methods in com.google.genkit.prompt with parameters of type GenerateOptionsModifier and TypeMethodDescriptionDotPrompt.generate(Registry registry, I input, GenerateOptions options) Generates a response using this prompt with custom options.DotPrompt.generate(Registry registry, I input, GenerateOptions options, Consumer<ModelResponseChunk> streamCallback) Generates a response using this prompt with streaming.<T> TExecutablePrompt.generate(I input, GenerateOptions options) Generates a response with custom options.ExecutablePrompt.GenerateFunction.generate(GenerateOptions<?> options) ExecutablePrompt.GenerateObjectFunction.generateObject(GenerateOptions<?> options, Class<?> outputClass) ExecutablePrompt.stream(I input, GenerateOptions options, Consumer<ModelResponseChunk> streamCallback) Generates a response with streaming and custom options.