Uses of Interface
com.google.genkit.core.InputSource
Packages that use InputSource
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of InputSource in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent with parameters of type InputSourceModifier and TypeMethodDescriptionAgent.runBidi(ActionContext ctx, AgentInit<S> init, InputSource<AgentInput> inputs, Consumer<AgentStreamChunk> streamCallback) com.fasterxml.jackson.databind.JsonNodeAgent.runBidiJson(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback) ActionRunResult<com.fasterxml.jackson.databind.JsonNode> Agent.runBidiJsonWithTelemetry(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback) -
Uses of InputSource in com.google.genkit.core
Classes in com.google.genkit.core that implement InputSourceModifier and TypeClassDescriptionfinal classA thread-safeInputSourcethat is fed by a producer viaBufferedInputSource.offer(I)and signals end-of-stream viaBufferedInputSource.end().Methods in com.google.genkit.core with parameters of type InputSourceModifier and TypeMethodDescriptionBidiAction.BidiHandler.handle(ActionContext ctx, Init init, InputSource<I> inputs, Consumer<S> streamCallback) Handles one invocation of the bidirectional action.BidiAction.runBidi(ActionContext ctx, Init init, InputSource<I> inputs, Consumer<S> streamCallback) Runs the action in bidirectional-streaming mode.BidiActionImpl.runBidi(ActionContext ctx, Init init, InputSource<I> inputs, Consumer<S> streamCallback) com.fasterxml.jackson.databind.JsonNodeBidiAction.runBidiJson(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback) Runs the action in bidirectional-streaming mode with JSON-typed arguments.com.fasterxml.jackson.databind.JsonNodeBidiActionImpl.runBidiJson(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback) ActionRunResult<com.fasterxml.jackson.databind.JsonNode> BidiAction.runBidiJsonWithTelemetry(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback) Runs the action in bidirectional-streaming mode with JSON-typed arguments and telemetry.ActionRunResult<com.fasterxml.jackson.databind.JsonNode> BidiActionImpl.runBidiJsonWithTelemetry(ActionContext ctx, com.fasterxml.jackson.databind.JsonNode init, InputSource<com.fasterxml.jackson.databind.JsonNode> inputs, Consumer<com.fasterxml.jackson.databind.JsonNode> streamCallback)