Uses of Class
com.google.genkit.ai.session.SessionOptions
Packages that use SessionOptions
Package
Description
Provides session management for multi-turn agent conversations with
persistence.
-
Uses of SessionOptions in com.google.genkit
Methods in com.google.genkit with parameters of type SessionOptionsModifier and TypeMethodDescription<S> Session<S> Genkit.createSession(SessionOptions<S> options) Creates a new session with the given options.<S> CompletableFuture<Session<S>> Genkit.loadSession(String sessionId, SessionOptions<S> options) Loads an existing session from a store. -
Uses of SessionOptions in com.google.genkit.ai.session
Methods in com.google.genkit.ai.session that return SessionOptionsMethods in com.google.genkit.ai.session with parameters of type SessionOptionsModifier 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.