Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for streaming (0.24 seconds)

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

         */
        LlmChatResponse chat(LlmChatRequest request);
    
        /**
         * Performs a streaming chat completion request.
         * The callback is invoked for each chunk of the response.
         *
         * @param request the chat request containing messages and parameters
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if an error occurs during the request
         */
    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/main/java/org/codelibs/fess/llm/LlmClientManager.java

                throw new LlmException("LLM chat request failed", e);
            }
        }
    
        /**
         * Performs a streaming chat completion request using the configured LLM client.
         *
         * @param request the chat request
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if LLM is not available or an error occurs
         */
    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)
  3. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * API Manager for RAG chat endpoints with SSE streaming support.
     *
     * @author FessProject
     */
    public class ChatApiManager extends BaseApiManager {
    
        private static final Logger logger = LogManager.getLogger(ChatApiManager.class);
    
    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)
  4. src/main/webapp/js/chat.js

            elements.chatInput.val('');
            updateCharCount();
            autoResizeTextarea();
    
            // Add thinking indicator
            var thinkingId = addThinkingIndicator();
    
            // Use SSE for streaming
            streamChat(message, thinkingId);
        }
    
        /**
         * Stream chat using Server-Sent Events
         */
        function streamChat(message, thinkingId) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/chat/ChatClient.java

            }
        }
    
        /**
         * Performs an enhanced streaming chat request with multi-phase RAG flow.
         *
         * @param sessionId the session ID (can be null for new sessions)
         * @param userMessage the user's message
         * @param userId the user ID (can be null for anonymous users)
         * @param callback the callback to receive phase notifications and streaming chunks
    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. docs/zh-hant/docs/tutorial/stream-json-lines.md

    # 串流 JSON Lines { #stream-json-lines }
    
    當你有一連串資料想以「**串流**」方式傳送時,可以使用 **JSON Lines**。
    
    /// info
    
    在 FastAPI 0.134.0 新增。
    
    ///
    
    ## 什麼是串流? { #what-is-a-stream }
    
    「**Streaming**」資料表示你的應用會在整個資料序列尚未完全準備好之前,就開始將資料項目傳送給用戶端。
    
    也就是說,它會先送出第一個項目,用戶端接收並開始處理時,你的應用可能仍在產生下一個項目。
    
    ```mermaid
    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.36.md

    - Introduces new staging modules `k8s.io/streaming` and `k8s.io/cri-streaming` for Kubernetes streaming transport and CRI streaming server code.
      
      `k8s.io/apimachinery/pkg/util/httpstream` (including `spdy` and `wsstream`) remains available as a deprecated compatibility wrapper backed by `k8s.io/streaming`.
      
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                throw new LlmException("Request interrupted", LlmException.ERROR_TIMEOUT);
            }
        }
    
        /**
         * Executes a streaming chat request with concurrency control via Semaphore.
         *
         * @param request the chat request
         * @param callback the streaming callback
         * @throws LlmException if too many concurrent requests or interrupted
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  9. fastapi/openapi/utils.py

                    "description"
                ] = route.response_description
                if is_body_allowed_for_status_code(route.status_code):
                    # Check for JSONL streaming (generator endpoints)
                    if route.is_json_stream:
                        jsonl_content: dict[str, Any] = {}
                        if route.stream_item_field:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

        }
    
        /**
         * Downloads diagnostic logs and system information as a ZIP file.
         *
         * @param form the action form (validated but not used for configuration)
         * @return streaming response containing the diagnostic ZIP file
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse downloadLogs(final ActionForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top