Class FrontEndConfigurationComponent

java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.ftrontend.FrontEndConfigurationComponent

public class FrontEndConfigurationComponent extends DiarcComponent
Class which holds intended configuration of the front end of the system and exposes TRADE services for the rest of the system to branch logic based on what components and services should exist. TODO: should this be a standalone component which the developer needs to make sure to properly align with the associated config or should it be responsible for creating and registering other components based on the supplied configuration?
  • Field Details

    • LOCAL_ADDRESSEES

      public final Set<String> LOCAL_ADDRESSEES
  • Constructor Details

    • FrontEndConfigurationComponent

      public FrontEndConfigurationComponent()
  • Method Details

    • additionalUsageInfo

      protected List<org.apache.commons.cli.Option> additionalUsageInfo()
      Description copied from class: DiarcComponent
      Override this method to define command line options available in sub-class. This should be paired with a parseArgs implementation.
      Overrides:
      additionalUsageInfo in class DiarcComponent
      Returns:
    • parseArgs

      protected void parseArgs(org.apache.commons.cli.CommandLine cmdLine)
      Description copied from class: DiarcComponent
      Override this method to parse command line args in the sub-class. Called directly after construction to pass runtime values that will override default values. This should parse all the options that additionalUsageInfo provides.
      Overrides:
      parseArgs in class DiarcComponent
    • init

      protected void init()
      Description copied from class: DiarcComponent
      Perform any component initialization. This should not be used for setting local fields to default values as was the case in DIARC. This method is called after the constructor, and after parseArgs. Setting default values should be done in field declaration or in the constructor.
      Overrides:
      init in class DiarcComponent
    • isLocalAddressee

      public boolean isLocalAddressee(Symbol addressee)
    • isLocalAddressee

      public boolean isLocalAddressee(String addresseeName)
    • usingStreamingTTS

      public boolean usingStreamingTTS(Symbol agentTeam)
    • usingWWBasedASR

      public boolean usingWWBasedASR(Symbol agentTeam)
    • usingListeningIndicator

      public boolean usingListeningIndicator(Symbol agentTeam)
    • useTentativeAcceptFiller

      public boolean useTentativeAcceptFiller()
    • usePreValidationFiller

      public boolean usePreValidationFiller()
    • useReattemptParseFiller

      public boolean useReattemptParseFiller()
    • usingLLM

      public boolean usingLLM()
    • supportExtendedParses

      public boolean supportExtendedParses()
    • usingValidation

      public boolean usingValidation()
    • usingQueueEM

      public boolean usingQueueEM()
    • sampleReattemptParseFillerPhrase

      public String sampleReattemptParseFillerPhrase()
    • samplePreValidationFillerPhrase

      public String samplePreValidationFillerPhrase(Utterance unvalidatedUtterance, boolean revalidating)
    • sampleGoalAchievedPhrase

      public String sampleGoalAchievedPhrase(Predicate state)
    • sampleTentativeAcceptPhrase

      public String sampleTentativeAcceptPhrase(Predicate state)
    • sampleGoalPlacedInQueueAcknowledgement

      public String sampleGoalPlacedInQueueAcknowledgement(Predicate state)
    • ignoreValidation

      public boolean ignoreValidation(Predicate goalPred)
    • ignoreTentativeAccept

      public boolean ignoreTentativeAccept(Predicate goalPred)