Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
RLKRo committed Feb 22, 2024
1 parent 6dd6c8c commit 6ecd57b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tutorials/script/responses/4_multi_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"messages": [
Message("Hi, what is up?", misc={"confidences": 0.85}),
Message(
text="Hello, how are you?", misc={"confidences": 0.9}
text="Hello, how are you?",
misc={"confidences": 0.9},
),
]
}
Expand All @@ -48,16 +49,12 @@
"node2": {
RESPONSE: Message("Good. What do you want to talk about?"),
TRANSITIONS: {
"node3": cnd.exact_match(
Message("Let's talk about music.")
)
"node3": cnd.exact_match(Message("Let's talk about music."))
},
},
"node3": {
RESPONSE: Message("Sorry, I can not talk about that now."),
TRANSITIONS: {
"node4": cnd.exact_match(Message("Ok, goodbye."))
},
TRANSITIONS: {"node4": cnd.exact_match(Message("Ok, goodbye."))},
},
"node4": {
RESPONSE: Message("bye"),
Expand Down

0 comments on commit 6ecd57b

Please sign in to comment.