- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getOrCreateSession (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/chat/ChatSessionManager.java
* * @param sessionId the session ID (can be null to create a new session) * @param userId the user ID * @return the existing or new session */ public ChatSession getOrCreateSession(final String sessionId, final String userId) { if (sessionId != null) { final ChatSession session = findSession(sessionId); if (session != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
logger.debug("[RAG] Starting chat request. sessionId={}, userId={}, userMessage={}", sessionId, userId, userMessage); } final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId); // Extract history snapshot before adding current user message to avoid duplication final List<LlmMessage> history = extractHistory(session);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0)