Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for fromValue (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

         * Parses a string value to ChatIntent enum.
         *
         * @param value the string value to parse
         * @return the corresponding ChatIntent, defaults to UNCLEAR if not found
         */
        public static ChatIntent fromValue(final String value) {
            if (value == null) {
                return UNCLEAR;
            }
            for (final ChatIntent intent : values()) {
                if (intent.value.equalsIgnoreCase(value.trim())) {
    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)
  2. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("search"));
            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("SEARCH"));
            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("Search"));
        }
    
        @Test
        public void test_fromValue_summary() {
            assertEquals(ChatIntent.SUMMARY, ChatIntent.fromValue("summary"));
            assertEquals(ChatIntent.SUMMARY, ChatIntent.fromValue("SUMMARY"));
    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)
  3. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    return;
                }
                params.put("onelogin.saml2." + key.substring(SAML_PREFIX.length()), e.getValue());
            });
            return new SettingsBuilder().fromValues(params).build();
        }
    
        @Override
        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
Back to Top