Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 188 for Unclear (0.03 seconds)

  1. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("unclear"));
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("UNCLEAR"));
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("Unclear"));
        }
    
        @Test
        public void test_fromValue_null() {
            // Defaults to UNCLEAR when value is null
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(null));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

        }
    
        /**
         * Creates an unclear intent result when intent cannot be determined.
         *
         * @param reasoning the detection reasoning
         * @return the unclear intent result
         */
        public static IntentDetectionResult unclear(final String reasoning) {
            return new IntentDetectionResult(ChatIntent.UNCLEAR, null, null, reasoning);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/ChatIntent.java

        /** User wants a summary of a specific document */
        SUMMARY("summary"),
    
        /** User is asking a FAQ-type question */
        FAQ("faq"),
    
        /** Intent is unclear - need to ask user for clarification */
        UNCLEAR("unclear");
    
        private final String value;
    
        ChatIntent(final String value) {
            this.value = value;
        }
    
        /**
         * Returns the string value of this intent.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java

        @Test
        public void test_unclear() {
            final IntentDetectionResult result = IntentDetectionResult.unclear("unclear intent");
    
            assertEquals(ChatIntent.UNCLEAR, result.getIntent());
            assertNull(result.getQuery());
            assertNull(result.getDocumentUrl());
            assertEquals("unclear intent", result.getReasoning());
        }
    
        @Test
        public void test_unclear_withNullReasoning() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            }
            return intentDetectionPrompt;
        }
    
        /**
         * Gets the system prompt for unclear intent responses.
         *
         * @return the unclear intent system prompt
         */
        protected String getUnclearIntentSystemPrompt() {
            if (unclearIntentSystemPrompt == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  6. architecture/standards/0004-use-a-platform-architecture.md

    ## Status
    
    - ACCEPTED on 2024-02-07
    
    ## Context
    
    The Gradle code base is essentially a large monolith, without strong internal boundaries.
    This has a number of negative effects on productivity, including:
    
    - Unclear ownership of code.
    - Difficult to focus on one particular area.
    - Unintended coupling between areas of the code, including tests.
    
    ## Decision
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/LlmClient.java

                LlmStreamCallback callback);
    
        /**
         * Generates a response asking user for clarification when intent is unclear.
         *
         * @param userMessage the user's message
         * @param history the conversation history
         * @param callback the streaming callback
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/chat/ChatClient.java

                    logger.debug("[RAG] Intent detected. intent={}, query={}", intentResult.getIntent(), intentResult.getQuery());
                }
    
                if (intentResult.getIntent() == ChatIntent.UNCLEAR) {
                    // Unclear intent - generate answer with empty documents to ask for clarification
                    final LlmChatResponse llmResponse = llmClientManager.generateAnswer(userMessage, Collections.emptyList(), history);
    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)
  9. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            protected String getIntentDetectionPrompt() {
                return testIntentDetectionPrompt;
            }
    
            @Override
            protected String getUnclearIntentSystemPrompt() {
                return "unclear prompt {{languageInstruction}}";
            }
    
            @Override
            protected String getNoResultsSystemPrompt() {
                return "no results prompt {{languageInstruction}}";
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/pager/UserPagerTest.java

            userPager.setAllPageCount(10);
            userPager.setExistPrePage(true);
            userPager.setExistNextPage(true);
    
            userPager.clear();
    
            assertNull(userPager.id);
            // Note: name is not cleared by clear() method
            assertNull(userPager.roles);
            assertNull(userPager.groups);
            assertNull(userPager.versionNo);
            assertEquals(0, userPager.getAllRecordCount());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top