Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getTemperature (0.07 seconds)

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

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

         *
         * @return the temperature
         */
        public Double getTemperature() {
            return temperature;
        }
    
        /**
         * Sets the temperature parameter.
         *
         * @param temperature the temperature
         * @return this request for method chaining
         */
        public LlmChatRequest setTemperature(final Double temperature) {
            this.temperature = temperature;
            return this;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            final var config = ComponentUtil.getFessConfig();
    
            final String temp = config.getOrDefault(prefix + ".temperature", null);
            if (temp != null) {
                request.setTemperature(Double.parseDouble(temp));
            }
            final String maxTokens = config.getOrDefault(prefix + ".max.tokens", null);
            if (maxTokens != null) {
                request.setMaxTokens(Integer.parseInt(maxTokens));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top