Class N8nConfig

java.lang.Object
com.bytedesk.ai.springai.providers.n8n.N8nConfig

@Configuration @ConfigurationProperties(prefix="bytedesk.n8n") @ConditionalOnProperty(name="bytedesk.n8n.enabled", havingValue="true", matchIfMissing=false) public class N8nConfig extends Object
RAGFlow 配置属性
  • Field Details

    • enabled

      private boolean enabled
      是否启用 RAGFlow
    • apiUrl

      private String apiUrl
      RAGFlow API 地址
    • apiKey

      private String apiKey
      RAGFlow API 密钥
    • defaultModel

      private String defaultModel
      默认模型名称
    • defaultStream

      private boolean defaultStream
      是否默认使用流式响应
    • timeout

      private int timeout
      请求超时时间(毫秒)
    • maxRetries

      private int maxRetries
      最大重试次数
    • debugEnabled

      private boolean debugEnabled
      是否启用调试日志
  • Constructor Details

    • N8nConfig

      public N8nConfig()