Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 80 for client5 (0.04 seconds)

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

    import java.util.stream.Collectors;
    import java.util.stream.StreamSupport;
    
    import org.apache.hc.client5.http.config.ConnectionConfig;
    import org.apache.hc.client5.http.config.RequestConfig;
    import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
    import org.apache.hc.client5.http.impl.classic.HttpClients;
    import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder;
    import org.apache.hc.core5.util.Timeout;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  2. pom.xml

    		</dependency>
    		<dependency>
    			<groupId>com.google.oauth-client</groupId>
    			<artifactId>google-oauth-client</artifactId>
    			<version>${google.oauth.client.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.http-client</groupId>
    			<artifactId>google-http-client</artifactId>
    			<version>${google.http.client.version}</version>
    			<exclusions>
    				<exclusion>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

        }
    
        // Test multiple instances
        @Test
        public void test_multipleInstances() {
            // Test that multiple instances can be created independently
            CrawlerEngineClient client1 = new CrawlerEngineClient();
            CrawlerEngineClient client2 = new CrawlerEngineClient();
    
            assertNotNull(client1);
            assertNotNull(client2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

                            client.isAvailable());
                }
                return client;
            }
            // Fallback: search registered clients
            for (final LlmClient client : clientList) {
                if (llmType.equals(client.getName())) {
                    if (logger.isTraceEnabled()) {
                        logger.trace("[LLM] LlmClient found via registration. name={}", client.getName());
                    }
    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/LlmClient.java

        /**
         * Returns the name of this LLM client.
         *
         * @return the client name (e.g., "ollama", "openai", "gemini")
         */
        String getName();
    
        /**
         * Checks if this LLM client is available and properly configured.
         *
         * @return true if the client is available, false otherwise
         */
        boolean isAvailable();
    
        // RAG workflow methods
    
    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)
  6. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        }
    
        @Test
        public void test_generateSummaryResponse_singleDocWithinLimit() {
            client.setTestContextMaxChars(10000);
            client.setTestSystemPrompt("system");
            client.setTestSummarySystemPrompt("{{systemPrompt}}\n{{documentContent}}\n{{languageInstruction}}");
    
            final List<Map<String, Object>> documents = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         *
         * @return the thread pool
         */
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        /**
         * Gets the admin client for cluster and index administration.
         *
         * @return the admin client
         */
        @Override
        public AdminClient admin() {
            return client.admin();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return Collections.emptyList();
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            indexingHelper.sendDocuments(client, docList);
            assertEquals(0, docList.size());
            assertEquals(0, sentDocList.size());
            assertNull(sentIndex.get());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

                // If it succeeds, check that lastUpdated is set
                assertNotNull(jobLog.getLastUpdated());
            } catch (Exception e) {
                // Expected in test environment due to missing client
                assertTrue(e.getMessage().contains("client"));
            }
        }
    
        @Test
        public void test_monitorTarget_expired_withEndTime() {
            JobLog jobLog = new JobLog();
            jobLog.setId("test-log-2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

            return ComponentUtil.getFessConfig().getIndexLogIndex() + ".notification_queue";
        }
    
        private void ensureIndexExists(final SearchEngineClient client, final String indexName) {
            if (!indexChecked) {
                if (!client.existsIndex(indexName)) {
                    client.createIndex(NOTIFICATION_QUEUE_INDEX, indexName);
                }
                indexChecked = true;
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top