Uses of Class
com.google.genkit.ai.ModelResponseChunk
Packages that use ModelResponseChunk
Package
Description
Provides session management for multi-turn agent conversations with
persistence.
-
Uses of ModelResponseChunk in com.google.genkit
Method parameters in com.google.genkit with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionGenkit.generateStream(GenerateOptions<?> options, Consumer<ModelResponseChunk> streamCallback) Generates a streaming model response using the specified options. -
Uses of ModelResponseChunk in com.google.genkit.ai
Methods in com.google.genkit.ai that return ModelResponseChunkModifier and TypeMethodDescriptionstatic ModelResponseChunkCreates a ModelResponseChunk with text content.Method parameters in com.google.genkit.ai with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionGenerateAction.run(ActionContext ctx, GenerateAction.GenerateActionOptions options, Consumer<ModelResponseChunk> streamCallback) default ModelResponseModel.run(ActionContext ctx, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) Generates a streaming response from the given request. -
Uses of ModelResponseChunk in com.google.genkit.ai.session
Method parameters in com.google.genkit.ai.session with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionChat.sendStream(Message message, Chat.SendOptions sendOptions, Consumer<ModelResponseChunk> streamCallback) Sends a message with streaming response.Chat.sendStream(String text, Consumer<ModelResponseChunk> streamCallback) Sends a message with streaming response. -
Uses of ModelResponseChunk in com.google.genkit.plugins.anthropic
Method parameters in com.google.genkit.plugins.anthropic with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionAnthropicModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.plugins.awsbedrock
Method parameters in com.google.genkit.plugins.awsbedrock with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionAwsBedrockModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.plugins.compatoai
Method parameters in com.google.genkit.plugins.compatoai with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionCompatOAIModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.plugins.googlegenai
Method parameters in com.google.genkit.plugins.googlegenai with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionGeminiModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) ImagenModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) TtsModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) VeoModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.plugins.ollama
Method parameters in com.google.genkit.plugins.ollama with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionOllamaModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.plugins.openai
Method parameters in com.google.genkit.plugins.openai with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionOpenAIImageModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) OpenAIModel.run(ActionContext context, ModelRequest request, Consumer<ModelResponseChunk> streamCallback) -
Uses of ModelResponseChunk in com.google.genkit.prompt
Method parameters in com.google.genkit.prompt with type arguments of type ModelResponseChunkModifier and TypeMethodDescriptionDotPrompt.generate(Registry registry, I input, GenerateOptions options, Consumer<ModelResponseChunk> streamCallback) Generates a response using this prompt with streaming.ExecutablePrompt.stream(I input, GenerateOptions options, Consumer<ModelResponseChunk> streamCallback) Generates a response with streaming and custom options.ExecutablePrompt.stream(I input, Consumer<ModelResponseChunk> streamCallback) Generates a response with streaming.