diff --git a/current_goal.txt b/current_goal.txt index 1942246..0bcc198 100644 --- a/current_goal.txt +++ b/current_goal.txt @@ -6,8 +6,8 @@ sitting in a tavern by a fireplace -When generating conversation openers, check if the ai "knows" the player - - if they do not, use a broad profile query (ie "who are you?") +Comprehend the sentence "My name is ${name}" + - Transfer statement eval diff --git a/src/main/java/org/studiorailgun/conversation/evaluators/EvaluationTree.java b/src/main/java/org/studiorailgun/conversation/evaluators/EvaluationTree.java index 5206182..809bbfe 100644 --- a/src/main/java/org/studiorailgun/conversation/evaluators/EvaluationTree.java +++ b/src/main/java/org/studiorailgun/conversation/evaluators/EvaluationTree.java @@ -46,6 +46,9 @@ public class EvaluationTree { } break; case QUERY: { QueryEval.evaluate(conversation, quote, sentence); + } break; + case TRANSFER : { + } break; default: { throw new UnsupportedOperationException("Unsupported quote function: " + sentence.getFunction()); diff --git a/src/main/java/org/studiorailgun/conversation/evaluators/synthesis/ResponseEval.java b/src/main/java/org/studiorailgun/conversation/evaluators/synthesis/ResponseEval.java index 11f44f7..6be17bc 100644 --- a/src/main/java/org/studiorailgun/conversation/evaluators/synthesis/ResponseEval.java +++ b/src/main/java/org/studiorailgun/conversation/evaluators/synthesis/ResponseEval.java @@ -2,7 +2,7 @@ package org.studiorailgun.conversation.evaluators.synthesis; import org.studiorailgun.conversation.evaluators.greet.GreetingEval; import org.studiorailgun.conversation.evaluators.opener.OpenerSynthesis; -import org.studiorailgun.conversation.evaluators.transfer.TransferEval; +import org.studiorailgun.conversation.evaluators.transfer.TransferSynthesis; import org.studiorailgun.conversation.tracking.Conversation; import org.studiorailgun.conversation.tracking.Sentence; @@ -24,7 +24,7 @@ public class ResponseEval { conversation.getGreetingData().getHaveGreeted().add(conversation.getSelf()); } break; case ANSWER: { - response = TransferEval.synthesize(conversation); + response = TransferSynthesis.synthesize(conversation); } break; case OPENER: { response = OpenerSynthesis.synthesize(conversation); diff --git a/src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferEval.java b/src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferSynthesis.java similarity index 97% rename from src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferEval.java rename to src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferSynthesis.java index a63639f..261c8f3 100644 --- a/src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferEval.java +++ b/src/main/java/org/studiorailgun/conversation/evaluators/transfer/TransferSynthesis.java @@ -7,7 +7,7 @@ import org.studiorailgun.conversation.tracking.Sentence; /** * Evaluation for transfer quotes */ -public class TransferEval { +public class TransferSynthesis { /**