- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for RAG (0.02 seconds)
-
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
logger.warn("[RAG] Failed to process chat request. message={}", e.getMessage(), e); writeJsonResponse(response, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, createErrorResponse("Internal server error")); } } /** * Processes a streaming chat request using Server-Sent Events (SSE). * Uses the enhanced multi-phase RAG flow with intent detection and result evaluation.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
*/ protected String getLlmType() { return ComponentUtil.getFessConfig().getSystemProperty("rag.llm.name", "ollama"); } /** * Checks if RAG chat feature is enabled. * * @return true if RAG chat is enabled, false otherwise */ protected boolean isRagChatEnabled() { return ComponentUtil.getFessConfig().isRagChatEnabled();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
* Path to the service account credentials JSON file. */ @Size(max = 1000) public String storageCredentialsPath; /** * RAG LLM provider name. * Selects which LLM client to use for RAG operations. */ @Size(max = 100) public String ragLlmName; /** * LLM log level. * Controls the logging level for LLM-related packages. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
import org.codelibs.fess.util.ComponentUtil; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; /** * Unit tests for {@link ChatApiManager}. * Tests the RAG chat API endpoints including SSE streaming. */ public class ChatApiManagerTest extends UnitFessTestCase { private ChatApiManager chatApiManager; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
@Resource protected OsddHelper osddHelper; /** Helper for managing popular search words and suggestions. */ @Resource protected PopularWordHelper popularWordHelper; /** Client for RAG chat functionality. */ @Resource protected ChatClient chatClient; /** The HTTP servlet request object for the current request. */ @Resource protected HttpServletRequest request;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 18 04:42:56 GMT 2026 - 14K bytes - Click Count (0) -
src/main/webapp/js/chat.js
/** * Fess RAG Chat JavaScript * Enhanced with Atlassian Design System patterns */ var FessChat = (function() { 'use strict'; var config = { apiUrl: '/api/v1/chat', streamUrl: '/api/v1/chat/stream', labels: { thinking: 'Thinking...', waiting: '...', error: 'An error occurred. Please try again.', sources: 'Sources', statusReady: 'AI Assistant',Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/Constants.java
/** Storage type configuration key (s3, gcs, auto). */ public static final String STORAGE_TYPE = "storage.type"; /** RAG LLM name configuration key. */ public static final String RAG_LLM_NAME = "rag.llm.name"; /** Storage region configuration key (for S3). */ public static final String STORAGE_REGION = "storage.region";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0)