Object SentenceGenerationService

  • All Implemented Interfaces:

    
    public class SentenceGenerationService
    
                        

    Service that manage the Generate Sentences with Large Language Model (LLM) functionality

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getSentenceGenerationConfiguration

         final BotSentenceGenerationConfiguration getSentenceGenerationConfiguration(String namespace, String botId)

        Get the LLM Sentence Generation configuration

        Parameters:
        namespace - : the namespace
        botId - : the bot ID
      • deleteConfig

         final Unit deleteConfig(String namespace, String botId)

        Deleting the LLM Sentence Generation Configuration

        Parameters:
        namespace - : the namespace
        botId - : the bot ID
      • saveSentenceGeneration

         final BotSentenceGenerationConfiguration saveSentenceGeneration(BotSentenceGenerationConfigurationDTO sentenceGenerationConfig)

        Save SentenceGeneration configuration and filter errors

        Parameters:
        sentenceGenerationConfig - : the llm sentence generation configuration to create or update
        Returns:

        BotSentenceGenerationConfiguration