File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/embabel/template/agent Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3737
3838
3939abstract class Personas {
40- static final Persona WRITER = Persona .Companion . create (
40+ static final Persona WRITER = Persona .create (
4141 "Roald Dahl" ,
4242 "A creative storyteller who loves to weave imaginative tales that are a bit unconventional" ,
4343 "Quirky" ,
4444 "Create memorable stories that captivate the reader's imagination." ,
4545 "" ,
4646 PromptContributionLocation .BEGINNING
4747 );
48- static final Persona REVIEWER = Persona .Companion . create (
48+ static final Persona REVIEWER = Persona .create (
4949 "Media Book Review" ,
5050 "New York Times Book Reviewer" ,
5151 "Professional and insightful" ,
@@ -126,7 +126,7 @@ Story craftStory(UserInput userInput) {
126126 ).trim (), Story .class );
127127 }
128128
129- @ AchievesGoal (description ="The user has been greeted " )
129+ @ AchievesGoal (description ="The story has been crafted and reviewed by a book reviewer " )
130130 @ Action
131131 ReviewedStory reviewStory (UserInput userInput , Story story , OperationContext context ) {
132132 String review = context .promptRunner ()
You can’t perform that action at this time.
0 commit comments