Interface IAgentConfiguration


public interface IAgentConfiguration
Interface for agent configuration
  • Method Details

    • systemRole

      String systemRole()
      Get the system role
      Returns:
      the system role
    • maxTokens

      Integer maxTokens()
      Get the maximum number of tokens for conversation (with all history)
      Returns:
      maximum number of tokens which can be used for conversation
    • maxCompletionTokens

      Integer maxCompletionTokens()
      Get the maximum number of tokens for completion
      Returns:
      maximum number of tokens which can be used for completion
    • temperature

      Double temperature()
      Get the bot temperature
      Returns:
      bot temperature
    • presencePenalty

      Double presencePenalty()
      Get the presence penalty
      Returns:
      presence penalty
    • frequencyPenalty

      Double frequencyPenalty()
      Get the frequency penalty
      Returns:
      frequency penalty
    • stopSequences

      String stopSequences()
      Get the stop sequences
      Returns:
      list of strings which should stop the completion
    • richAiConfigurations

      List<IRichAIConfiguration> richAiConfigurations()
      Get the rich AI configurations
      Returns:
      list of rich AI configurations
    • isReRanking

      Boolean isReRanking()
      Get the enable re-ranking flag
      Returns:
      enable re-ranking flag
    • maxResultCount

      Integer maxResultCount()
      Get the maximum result count
      Returns:
      maximum result count
    • minScore

      Double minScore()
      Get the minimum score
      Returns:
      minimum score
    • needQueryCompress

      Boolean needQueryCompress()
      Get the need query compress flag
      Returns:
      need query compress flag
    • introductionSentence

      IDynamicLocalizationsWrapper introductionSentence()
      Get the introduction sentence
      Returns:
      introduction sentence
    • possibleQuestions

      IDynamicLocalizationsWrapper possibleQuestions()
      Get the possible questions
      Returns:
      possible questions
    • agentReference

      String agentReference()
      Get the sysReference of agent
      Returns:
      sysReference