Uses of Class
org.springframework.ai.session.CreateSessionRequest
Packages that use CreateSessionRequest
-
Uses of CreateSessionRequest in org.springframework.ai.session
Methods in org.springframework.ai.session that return CreateSessionRequestMethods in org.springframework.ai.session with parameters of type CreateSessionRequestModifier and TypeMethodDescriptionDefaultSessionService.create(CreateSessionRequest request) SessionService.create(CreateSessionRequest request) Creates a session with the request's id, a random UUID when it has none, its time to live and its metadata.default SessionSessionService.findOrCreate(CreateSessionRequest request) The session with the request's id, created from the request when there is none. -
Uses of CreateSessionRequest in org.springframework.ai.session.advisor
Methods in org.springframework.ai.session.advisor that return CreateSessionRequestModifier and TypeMethodDescriptionstatic CreateSessionRequestSessionContexts.createRequest(String sessionId, Map<String, @Nullable Object> context) The request the advisors pass toSessionService.findOrCreate: the id, and the metadata fromSessionMemoryAdvisor.SESSION_METADATA_CONTEXT_KEY, such as the agent attributes (SessionAttributes.AGENT_NAME).