Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for openai (0.05 seconds)

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

    package org.codelibs.fess.llm;
    
    import java.util.List;
    import java.util.Map;
    
    /**
     * Interface for LLM (Large Language Model) clients.
     * Implementations provide integration with different LLM providers
     * such as Ollama, OpenAI, and Google Gemini.
     *
     * In addition to low-level chat operations, this interface defines
     * high-level RAG workflow methods that allow each provider to optimize
     * prompt construction, parameter tuning, and response parsing.
    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)
  2. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            assertEquals("ollama", searchLog.getAccessType());
        }
    
        @Test
        public void test_addSearchLog_accessType_openai() {
            final SearchLog searchLog = callCreateSearchLogAndGetResult("openai");
            assertEquals("openai", searchLog.getAccessType());
        }
    
        @Test
        public void test_addSearchLog_accessType_gemini() {
            final SearchLog searchLog = callCreateSearchLogAndGetResult("gemini");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            assertEquals("ollama", request.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE));
    
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, "openai");
            assertEquals("openai", request.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE));
        }
    
        @Test
        public void test_accessType_constantValues() {
            assertEquals("json", Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            return null;
        }
    
        /**
         * Gets the configured LLM type from the system configuration.
         *
         * @return The LLM type string from configuration (e.g., "ollama", "openai", "gemini")
         */
        protected String getLlmType() {
            return ComponentUtil.getFessConfig().getSystemProperty("rag.llm.name", "ollama");
        }
    
        /**
         * Checks if RAG chat feature is enabled.
    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)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        /**
         * Gets the configuration prefix for this provider.
         * Used to look up per-prompt-type parameters from FessConfig.
         *
         * @return the config prefix (e.g. "rag.llm.openai")
         */
        protected abstract String getConfigPrefix();
    
        /**
         * Gets the base system prompt for RAG chat responses.
         *
         * @return the system prompt
         */
    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. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

             */
            public ProcessFileDescriptorObj() {
                // Default constructor
            }
    
            /** Number of currently open file descriptors. */
            public long open;
            /** Maximum number of file descriptors that can be opened. */
            public long max;
        }
    
        /**
         * Data transfer object representing process CPU statistics.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    import org.lastaflute.web.login.credential.LoginCredential;
    
    /**
     * OpenID Connect credential implementation.
     */
    public class OpenIdConnectCredential implements LoginCredential, FessCredential {
    
        private final Map<String, Object> attributes;
    
        /**
         * Creates a new OpenID Connect credential.
         *
         * @param attributes the attributes from OpenID Connect provider
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
        /** Configuration key for OpenID Connect token server URL. */
        protected static final String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
    
        /** Configuration key for OpenID Connect client secret. */
        protected static final String OIC_CLIENT_SECRET = "oic.client.secret";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        public String ldapInitialContextFactory;
    
        /** OpenID Connect client ID. */
        @Size(max = 1000)
        public String oicClientId;
    
        /** OpenID Connect client secret. */
        @Size(max = 1000)
        public String oicClientSecret;
    
        /** OpenID Connect authorization server URL. */
        @Size(max = 1000)
        public String oicAuthServerUrl;
    
        /** OpenID Connect token server URL. */
        @Size(max = 1000)
    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)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                        } else if (userAgent.indexOf("Safari") >= 0) {
                            uaType = UserAgentType.SAFARI;
                        } else if (userAgent.indexOf("Opera") >= 0) {
                            uaType = UserAgentType.OPERA;
                        }
                    }
                    if (uaType == null) {
                        uaType = UserAgentType.OTHER;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top