/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("ChitChatAnswer"); representation.AddParameter("domain", _domain); return(representation); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("RequestEntityLabel"); representation.AddParameter("phrase", _phrase); return(representation); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { var act = new ActRepresentation("ChitChat"); act.AddParameter("domain", Domain); return(act); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("DirectAnswerHintQuestion"); representation.AddParameter("question", _question.OriginalSentence); return(representation); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("WelcomeWithRephraseRequest"); representation.AddParameter("question", _question.OriginalSentence); return(representation); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { var act = new ActRepresentation("Question"); act.AddParameter("question", Question); return(act); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { var unrecognized = new ActRepresentation("Unrecognized"); unrecognized.AddParameter("utterance", Utterance); return(unrecognized); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("RephraseQuestionPropose"); representation.AddParameter("question", _question.OriginalSentence); representation.AddParameter("at_least", _isAtLeast); return(representation); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var act = new ActRepresentation("NoConnectionToEntity"); act.AddParameter("entity", _entity); return(act); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { var act = new ActRepresentation("Advice"); act.AddParameter("answer", Answer); return(act); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("RequestAnswer"); representation.AddParameter("at_least", _isAtLeastRequest); return(representation); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { if (_dialogActRepresentation == null) { _dialogActRepresentation = initializeDialogActRepresentation(); } return(_dialogActRepresentation); }
/// <inheritdoc/> public override string GetDialogActRepresentation() { if (_dialogActRepresentation == null) { _dialogActRepresentation = initializeDialogActRepresentation(); } return(_dialogActRepresentation.ToFunctionalRepresentation()); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var representation = new ActRepresentation("EdgeConfirmationRequest"); representation.AddParameter("label1", _label1); representation.AddParameter("relationFormat", _relationFormat); representation.AddParameter("label2", _label2); return(representation); }
/// <inheritdoc/> public override ActRepresentation GetDialogAct() { var act = new ActRepresentation("Affirm"); if (_expression != null) { act.AddParameter("expression", _expression); } return(act); }
/// <inheritdoc/> protected override ActRepresentation initializeDialogActRepresentation() { var typeName = this.GetType().Name; if (!typeName.EndsWith("Act")) { throw new FormatException("Act name does not follow naming conventions"); } var act = new ActRepresentation(typeName.Substring(0, typeName.Length - 3)); act.AddParameter("_continuation", _continuation); return(act); }
public void ReportParameter(string name, ActRepresentation value) { _storage.Add(name, value); }