Uses of Interface
com.google.genkit.core.Registry
Packages that use Registry
Package
Description
Provides session management for multi-turn agent conversations with
persistence.
Firebase plugin for Genkit providing integration with Firebase services.
Pinecone plugin for Genkit providing vector database integration.
PostgreSQL plugin for Genkit providing vector database integration using
pgvector extension.
Weaviate plugin for Genkit providing vector database integration for RAG
workflows.
-
Uses of Registry in com.google.genkit
Methods in com.google.genkit that return RegistryConstructors in com.google.genkit with parameters of type RegistryModifierConstructorDescriptionReflectionServer(Registry registry, int port) Creates a new ReflectionServer. -
Uses of Registry in com.google.genkit.ai
Methods in com.google.genkit.ai with parameters of type RegistryModifier and TypeMethodDescriptionstatic GenerateActionDefines and registers the generate utility action.voidvoidvoiddefault voidvoidvoidvoidConstructors in com.google.genkit.ai with parameters of type Registry -
Uses of Registry in com.google.genkit.ai.evaluation
Methods in com.google.genkit.ai.evaluation with parameters of type RegistryModifier and TypeMethodDescriptionstatic <O> Evaluator<O> Evaluator.define(Registry registry, String name, String displayName, String definition, boolean isBilled, Class<O> optionsClass, EvaluatorFn<O> evaluatorFn) Defines a new evaluator with full options and registers it with the registry.static <O> Evaluator<O> Evaluator.define(Registry registry, String name, String displayName, String definition, EvaluatorFn<O> evaluatorFn) Defines a new evaluator and registers it with the registry.voidConstructors in com.google.genkit.ai.evaluation with parameters of type RegistryModifierConstructorDescriptionEvaluationManager(Registry registry) Creates a new EvaluationManager.EvaluationManager(Registry registry, DatasetStore datasetStore, EvalStore evalStore) Creates a new EvaluationManager with custom stores. -
Uses of Registry in com.google.genkit.ai.session
Methods in com.google.genkit.ai.session that return RegistryMethods in com.google.genkit.ai.session with parameters of type RegistryModifier and TypeMethodDescriptionstatic <S> Session<S> Session.create(Registry registry, SessionOptions<S> options) Creates a new Session with a generated ID.static <S> Session<S> Creates a new Session with a generated ID and agent registry.static <S> CompletableFuture<Session<S>> Session.load(Registry registry, String sessionId, SessionOptions<S> options) Loads an existing session from a store.static <S> CompletableFuture<Session<S>> Session.load(Registry registry, String sessionId, SessionOptions<S> options, Map<String, Agent> agentRegistry) Loads an existing session from a store with agent registry. -
Uses of Registry in com.google.genkit.core
Classes in com.google.genkit.core that implement RegistryModifier and TypeClassDescriptionclassDefaultRegistry is the default implementation of the Registry interface.Methods in com.google.genkit.core that return RegistryModifier and TypeMethodDescriptionActionContext.getRegistry()Returns the Genkit registry.ActionDef.getRegistry()Returns the registry this action is registered with.DefaultRegistry.newChild()Registry.newChild()Creates a new child registry that inherits from this registry.Methods in com.google.genkit.core with parameters of type RegistryModifier and TypeMethodDescriptionFlow.define(Registry registry, String name, Class<I> inputClass, Class<O> outputClass, BiFunction<ActionContext, I, O> fn) Defines a new non-streaming flow and registers it.Flow.define(Registry registry, String name, Class<I> inputClass, Class<O> outputClass, BiFunction<ActionContext, I, O> fn, List<Middleware<I, O>> middleware) Defines a new non-streaming flow with middleware and registers it.static <I,O, S> Flow <I, O, S> Flow.defineStreaming(Registry registry, String name, Class<I> inputClass, Class<O> outputClass, ActionDef.StreamingFunction<I, O, S> fn) Defines a new streaming flow and registers it.Initializes the plugin with access to the registry.voidvoidvoidRegisters this primitive with the given registry.Constructors in com.google.genkit.core with parameters of type RegistryModifierConstructorDescriptionActionContext(Registry registry) Creates a new ActionContext with default values.ActionContext(SpanContext spanContext, String flowName, Registry registry) Creates a new ActionContext.ActionContext(SpanContext spanContext, String flowName, String spanPath, Registry registry) Creates a new ActionContext.ActionContext(SpanContext spanContext, String flowName, String spanPath, Registry registry, String sessionId, String threadName) Creates a new ActionContext.DefaultRegistry(Registry parent) Creates a new child registry with the given parent. -
Uses of Registry in com.google.genkit.plugins.evaluators
Methods in com.google.genkit.plugins.evaluators with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.evaluators.metrics
Constructors in com.google.genkit.plugins.evaluators.metrics with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.firebase
Methods in com.google.genkit.plugins.firebase with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.jetty
Methods in com.google.genkit.plugins.jetty with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.localvec
Methods in com.google.genkit.plugins.localvec with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.mcp
Methods in com.google.genkit.plugins.mcp with parameters of type RegistryModifier and TypeMethodDescriptionGets tools from the MCP server as Genkit tools.Constructors in com.google.genkit.plugins.mcp with parameters of type RegistryModifierConstructorDescriptionCreates a new MCP server with default options.MCPServer(Registry registry, MCPServerOptions options) Creates a new MCP server. -
Uses of Registry in com.google.genkit.plugins.pinecone
Methods in com.google.genkit.plugins.pinecone with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.postgresql
Methods in com.google.genkit.plugins.postgresql with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.spring
Methods in com.google.genkit.plugins.spring with parameters of type Registry -
Uses of Registry in com.google.genkit.plugins.weaviate
Methods in com.google.genkit.plugins.weaviate with parameters of type Registry -
Uses of Registry in com.google.genkit.prompt
Methods in com.google.genkit.prompt with parameters of type RegistryModifier and TypeMethodDescriptionGenerates a response using this prompt with the given registry.DotPrompt.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.voidRegisters this DotPrompt as an action.Constructors in com.google.genkit.prompt with parameters of type Registry