Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for getAction (0.08 seconds)

  1. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

         *
         * @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);
        }
    
        /**
         * Creates a fallback search intent when intent detection fails.
         *
         * @param originalMessage the original user message
    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)
  2. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return "";
                }
            });
    
            mimeTypeHelper.init();
    
            // With empty config, no override is applied; content-based detection runs
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                final String contentType = mimeTypeHelper.getContentType(is, "test.sql");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            }
            return getSupportedLanguage(result.getLanguage());
        }
    
        /**
         * Returns the text to be used for language detection.
         *
         * @param text The original text.
         * @return The text for language detection.
         */
        protected String getDetectText(final String text) {
            final String result;
            if (text.length() <= maxTextLength) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * FessMimeTypeHelper extends MimeTypeHelperImpl to provide Fess-specific
     * MIME type detection configuration. It reads extension-to-MIME-type override
     * mappings from FessConfig to handle cases where content-based detection
     * produces incorrect results (e.g., SQL files starting with REM comments
     * being misdetected as batch files).
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. ADDING_NEW_LANGUAGE.md

    | `LanguageHelper` | `org.codelibs.fess.helper` | Language detection and validation |
    | `SystemHelper` | `org.codelibs.fess.helper` | UI language dropdown builder |
    | `FessUserLocaleProcessProvider` | `org.codelibs.fess.mylasta.direction.sponsor` | User locale detection |
    
    ## Language Detection and Selection
    
    ### User Interface Language
    
    Fess determines the UI language in this order:
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  7. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                throw new LlmException("systemPrompt is not configured for " + getName());
            }
            return systemPrompt;
        }
    
        /**
         * Gets the intent detection prompt template.
         *
         * @return the intent detection prompt
         */
        protected String getIntentDetectionPrompt() {
            if (intentDetectionPrompt == 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)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
         * Detects the model version from a POM document.
         * Uses both the modelVersion element and namespace URI for detection.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @return the detected model version
         */
        public static String detectModelVersion(Document pomDocument) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top