Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 70 for getSources (0.07 seconds)

  1. src/main/java/org/codelibs/fess/entity/ChatMessage.java

         *
         * @return the list of sources
         */
        public List<ChatSource> getSources() {
            return sources;
        }
    
        /**
         * Sets the list of sources referenced in the message.
         *
         * @param sources the list of sources
         */
        public void setSources(final List<ChatSource> sources) {
            this.sources = sources;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                }
    
                writeJsonResponse(response, HttpServletResponse.SC_OK,
                        createSuccessResponse(result.getSessionId(), result.getMessage().getContent(), result.getMessage().getSources()));
    
            } catch (final Exception e) {
                logger.warn("[RAG] Failed to process chat request. message={}", e.getMessage(), e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Parent parent = model.getParent();
            if (parent != null) {
                model = model.withParent(parent.withRelativePath(null));
            }
            var projectSources = project.getBuild().getDelegate().getSources();
            if (SourceQueries.usesModuleSourceHierarchy(projectSources)) {
                // Dependencies are dispatched by maven-jar-plugin in the POM generated for each module.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            message.addSource(source);
    
            assertEquals(1, message.getSources().size());
            assertEquals("Test Document", message.getSources().get(0).getTitle());
        }
    
        @Test
        public void test_addSourceWithNullSources() {
            final ChatMessage message = new ChatMessage();
            message.setSources(null);
    
            final ChatSource source = new ChatSource();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/chat/ChatClient.java

         * @return a string listing referenced document titles
         */
        protected String buildSourceTitlesContent(final ChatMessage msg, final int summaryMaxChars) {
            final List<ChatSource> sources = msg.getSources();
            if (sources == null || sources.isEmpty()) {
                return buildTruncatedContent(msg, summaryMaxChars);
            }
            final int maxSuffixLen = Math.max(0, summaryMaxChars / 4);
    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)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            // Manually set content to null via assistantMessage then add sources
            final ChatMessage nullMsg = ChatMessage.assistantMessage(null);
            for (int i = 0; i < msg.getSources().size(); i++) {
                nullMsg.addSource(msg.getSources().get(i));
            }
            final String result = chatClient.testBuildAssistantHistoryContent(nullMsg, "source_titles", 500, 500);
            // null content with sources => returns suffix only
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top