Package com.google.genkit.core
package com.google.genkit.core
-
ClassDescriptionAction<I,
O, S> Action is the interface that all Genkit primitives (e.g., flows, models, tools) have in common.ActionContext provides context for action execution including tracing and flow information.Builder for ActionContext.ActionDef<I,O, S> ActionDef is the default implementation of an Action.Function interface for non-streaming actions.ActionDef.StreamingFunction<I,O, S> Function interface for streaming actions.ActionDesc is a descriptor of an action containing its metadata and schemas.Builder for ActionDesc.ActionRunResult contains the result of an action execution along with telemetry information.Builder for ActionRunResult.ActionType represents the kind of an action.DefaultRegistry is the default implementation of the Registry interface.DynamicPlugin is a Plugin that can dynamically resolve actions.Flow<I,O, S> A Flow is a user-defined Action.StreamingFlowValue represents either a streamed chunk or the final output of a flow.GenkitException is the base exception for all Genkit errors.Builder for GenkitException.JsonUtils provides JSON serialization and deserialization utilities for Genkit.Plugin is the interface implemented by types that extend Genkit's functionality.Registerable allows a primitive to be registered with a registry.Registry holds all registered actions and associated types, and provides methods to register, query, and look up actions.SchemaUtils provides utilities for JSON Schema generation and validation.ServerPlugin is an extended Plugin interface for plugins that provide HTTP server functionality.