-
public final class NLUConfigNLU (Natural Language Understanding) configuration.
协议变更说明(2026-03-23):
新增 welcomeReply 字段,用于配置欢迎语列表
协议变更说明(2026-07-06, v2.2):
新增 replyLanguage 字段,用于配置回复语种
新增 filler 字段,用于配置垫话开关
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenableprivate final IntegerstreamingBufferLengthprivate final List<String>welcomeReplyprivate final ToolsConfigtoolsprivate final RagConfigragprivate final StringreplyLanguageprivate final FillerConfigfiller
-
Constructor Summary
Constructors Constructor Description NLUConfig(Boolean enable, Integer streamingBufferLength, List<String> welcomeReply, ToolsConfig tools, RagConfig rag, String replyLanguage, FillerConfig filler)
-
Method Summary
Modifier and Type Method Description final BooleangetEnable()final IntegergetStreamingBufferLength()final List<String>getWelcomeReply()final ToolsConfiggetTools()final RagConfiggetRag()final StringgetReplyLanguage()final FillerConfiggetFiller()-
-
Constructor Detail
-
NLUConfig
NLUConfig(Boolean enable, Integer streamingBufferLength, List<String> welcomeReply, ToolsConfig tools, RagConfig rag, String replyLanguage, FillerConfig filler)
-
-
Method Detail
-
getStreamingBufferLength
final Integer getStreamingBufferLength()
-
getWelcomeReply
final List<String> getWelcomeReply()
-
getTools
final ToolsConfig getTools()
-
getReplyLanguage
final String getReplyLanguage()
-
getFiller
final FillerConfig getFiller()
-
-
-
-