Class BotSentenceGenerationConfiguration
-
- All Implemented Interfaces:
public final class BotSentenceGenerationConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<BotSentenceGenerationConfiguration>_idprivate final Stringnamespaceprivate final StringbotIdprivate final Booleanenabledprivate final IntegernbSentencesprivate final LLMSettingBase<SecretKey>llmSettingprivate final PromptTemplateprompt
-
Constructor Summary
Constructors Constructor Description BotSentenceGenerationConfiguration(Id<BotSentenceGenerationConfiguration> _id, String namespace, String botId, Boolean enabled, Integer nbSentences, LLMSettingBase<SecretKey> llmSetting, PromptTemplate prompt)
-
Method Summary
Modifier and Type Method Description final Id<BotSentenceGenerationConfiguration>get_id()final StringgetNamespace()final StringgetBotId()final BooleangetEnabled()final IntegergetNbSentences()final LLMSettingBase<SecretKey>getLlmSetting()final PromptTemplategetPrompt()final PromptTemplateinitPrompt()-
-
Constructor Detail
-
BotSentenceGenerationConfiguration
BotSentenceGenerationConfiguration(Id<BotSentenceGenerationConfiguration> _id, String namespace, String botId, Boolean enabled, Integer nbSentences, LLMSettingBase<SecretKey> llmSetting, PromptTemplate prompt)
-
-
Method Detail
-
get_id
final Id<BotSentenceGenerationConfiguration> get_id()
-
getNamespace
final String getNamespace()
-
getEnabled
final Boolean getEnabled()
-
getNbSentences
final Integer getNbSentences()
-
getLlmSetting
final LLMSettingBase<SecretKey> getLlmSetting()
-
getPrompt
final PromptTemplate getPrompt()
-
initPrompt
@Deprecated(message = "use BotSentenceGenerationConfiguration#prompt") final PromptTemplate initPrompt()
-
-
-
-