Skip to content

Commit

Permalink
tweak convalign bots ensuring alignment by default
Browse files Browse the repository at this point in the history
  • Loading branch information
beckydvn committed Aug 1, 2023
1 parent e7df398 commit 2cbbd69
Show file tree
Hide file tree
Showing 21 changed files with 6,125 additions and 3,318 deletions.
21 changes: 12 additions & 9 deletions plan4dial/local_data/bank_bot/bank_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,18 @@ intents:
- I want to transfer $funds to $contact.
- Can I transfer $funds to $contact?
- $contact is expecting $funds from me.
- Please send through $funds to $contact.
- Please send $funds to $contact.
share_request:
entities:
- contact
- funds
utterances:
- $contact owes me $funds.
- I need to request that $contact pays me $funds.
- Please send a request for $contact to send me $funds.
- Please ask for $funds from $contact.
- Please request that $contact to send me $funds.
- Please ask my contact $contact to send the $funds they owe.
- $contact needs to send me $funds.
- I really need $contact to send the $funds they owe me.
share_bill:
entities:
- bill
Expand Down Expand Up @@ -234,8 +236,8 @@ actions:
offer-transfer:
type: dialogue
message_variants:
- Would you like to transfer any money today?
- Are you looking to perform any transfers today?
- Would you like to transfer any money between your existing accounts?
- Are you looking to perform any transfers beween your accounts today?
- Would you like to transfer funds between accounts now?
condition:
tried-transfer:
Expand Down Expand Up @@ -287,8 +289,8 @@ actions:
confirm-transfer:
type: dialogue
message_variants:
- Transferring $funds from $account1 to $account2...
- $funds were transferred from $account1 to $account2.
- Got it. I've completed the transfer of $funds from $account1 to $account2.
- Ok! I successfully transferred your requested amount of $funds from $account1 to $account2.
condition:
task:
value: transfer funds between accounts
Expand Down Expand Up @@ -320,6 +322,7 @@ actions:
message_variants:
- Would you like to e-transfer any money to your contacts?
- Would you like to send any funds to a contact today?
- Are any of your contacts expecting a payment from you today?
condition:
tried-e-transfer:
value: false
Expand Down Expand Up @@ -449,8 +452,8 @@ actions:
confirm-request:
type: dialogue
message_variants:
- Ok, I'm requesting a transfer of $funds from $contact. I will let you know when the transfer goes through.
- $funds were requested from $contact. I'll notify you when the payment is received.
- Ok, I'm requesting a payment of $funds from $contact. I will let you know when the transfer goes through.
- Ok, I asked $contact to send you $funds. I'll notify you when the payment is received.
condition:
task:
value: request money
Expand Down
31 changes: 18 additions & 13 deletions plan4dial/local_data/bank_bot/output_files/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
"I want to transfer $funds to $contact.",
"Can I transfer $funds to $contact?",
"$contact is expecting $funds from me.",
"Please send through $funds to $contact."
"Please send $funds to $contact."
],
"type": "regular"
},
Expand All @@ -259,8 +259,10 @@
"utterances": [
"$contact owes me $funds.",
"I need to request that $contact pays me $funds.",
"Please send a request for $contact to send me $funds.",
"Please ask for $funds from $contact."
"Please request that $contact to send me $funds.",
"Please ask my contact $contact to send the $funds they owe.",
"$contact needs to send me $funds.",
"I really need $contact to send the $funds they owe me."
],
"type": "regular"
},
Expand Down Expand Up @@ -320,8 +322,8 @@
"offer-transfer": {
"type": "dialogue",
"message_variants": [
"Would you like to transfer any money today?",
"Are you looking to perform any transfers today?",
"Would you like to transfer any money between your existing accounts?",
"Are you looking to perform any transfers beween your accounts today?",
"Would you like to transfer funds between accounts now?"
],
"condition": [
Expand Down Expand Up @@ -565,8 +567,8 @@
"confirm-transfer": {
"type": "dialogue",
"message_variants": [
"Transferring $funds from $account1 to $account2...",
"$funds were transferred from $account1 to $account2."
"Got it. I've completed the transfer of $funds from $account1 to $account2.",
"Ok! I successfully transferred your requested amount of $funds from $account1 to $account2."
],
"condition": [
[
Expand Down Expand Up @@ -675,7 +677,8 @@
"type": "dialogue",
"message_variants": [
"Would you like to e-transfer any money to your contacts?",
"Would you like to send any funds to a contact today?"
"Would you like to send any funds to a contact today?",
"Are any of your contacts expecting a payment from you today?"
],
"condition": [
[
Expand Down Expand Up @@ -901,7 +904,7 @@
"I want to transfer $funds to $contact.",
"Can I transfer $funds to $contact?",
"$contact is expecting $funds from me.",
"Please send through $funds to $contact."
"Please send $funds to $contact."
],
"type": "regular"
},
Expand Down Expand Up @@ -1245,8 +1248,10 @@
"utterances": [
"$contact owes me $funds.",
"I need to request that $contact pays me $funds.",
"Please send a request for $contact to send me $funds.",
"Please ask for $funds from $contact."
"Please request that $contact to send me $funds.",
"Please ask my contact $contact to send the $funds they owe.",
"$contact needs to send me $funds.",
"I really need $contact to send the $funds they owe me."
],
"type": "regular"
},
Expand All @@ -1260,8 +1265,8 @@
"confirm-request": {
"type": "dialogue",
"message_variants": [
"Ok, I'm requesting a transfer of $funds from $contact. I will let you know when the transfer goes through.",
"$funds were requested from $contact. I'll notify you when the payment is received."
"Ok, I'm requesting a payment of $funds from $contact. I will let you know when the transfer goes through.",
"Ok, I asked $contact to send you $funds. I'll notify you when the payment is received."
],
"condition": [
[
Expand Down
Loading

0 comments on commit 2cbbd69

Please sign in to comment.