Uses of Class
com.google.genkit.ai.middleware.GenerateParams
Packages that use GenerateParams
-
Uses of GenerateParams in com.google.genkit.ai.middleware
Methods in com.google.genkit.ai.middleware that return GenerateParamsModifier and TypeMethodDescriptionGenerateParams.withMessageIndex(int messageIndex) Returns a new GenerateParams with the given messageIndex, preserving other fields.GenerateParams.withOnChunk(Consumer<ModelResponseChunk> onChunk) Returns a new GenerateParams with the given onChunk callback, preserving other fields.GenerateParams.withRequest(GenerateActionOptions request) Returns a new GenerateParams with the given request, preserving other fields.Methods in com.google.genkit.ai.middleware with parameters of type GenerateParamsModifier and TypeMethodDescriptionGenerateNext.apply(ActionContext ctx, GenerateParams params) Calls the next handler in the generate chain.BaseGenerationMiddleware.wrapGenerate(ActionContext ctx, GenerateParams params, GenerateNext next) GenerationMiddleware.wrapGenerate(ActionContext ctx, GenerateParams params, GenerateNext next) Wraps each iteration of the generate tool loop.