Package ai.tock.bot.admin.service
Object SentenceGenerationService
-
- All Implemented Interfaces:
public class SentenceGenerationServiceService that manage the Generate Sentences with Large Language Model (LLM) functionality
-
-
Field Summary
Fields Modifier and Type Field Description public final static SentenceGenerationServiceINSTANCE
-
Method Summary
Modifier and Type Method Description final BotSentenceGenerationConfigurationgetSentenceGenerationConfiguration(String namespace, String botId)Get the LLM Sentence Generation configuration final BotSentenceGenerationConfigurationsaveSentenceGeneration(BotSentenceGenerationConfigurationDTO sentenceGenerationConfig)Save SentenceGeneration configuration and filter errors -
-
Method Detail
-
getSentenceGenerationConfiguration
final BotSentenceGenerationConfiguration getSentenceGenerationConfiguration(String namespace, String botId)
Get the LLM Sentence Generation configuration
-
saveSentenceGeneration
final BotSentenceGenerationConfiguration saveSentenceGeneration(BotSentenceGenerationConfigurationDTO sentenceGenerationConfig)
Save SentenceGeneration configuration and filter errors
- Parameters:
sentenceGenerationConfig- : the llm sentence generation configuration to create or update
-
-
-
-