mrm8488's picture
First commit
c32ee7d
raw
history blame
20.4 kB
dataset: banking77
templates:
0dba8abc-248a-44db-bb86-20492ffc17f6: !Template
answer_choices: null
id: 0dba8abc-248a-44db-bb86-20492ffc17f6
jinja: "Which help page can be provided to provide information regarding this\
\ query?\n\n{{text}} |||\n{{\n[\n \"activate_my_card\",\n \"age_limit\",\n\
\ \"apple_pay_or_google_pay\",\n \"atm_support\",\n \"automatic_top_up\"\
,\n \"balance_not_updated_after_bank_transfer\",\n \"balance_not_updated_after_cheque_or_cash_deposit\"\
,\n \"beneficiary_not_allowed\",\n \"cancel_transfer\",\n \"card_about_to_expire\"\
,\n \"card_acceptance\",\n \"card_arrival\",\n \"card_delivery_estimate\"\
,\n \"card_linking\",\n \"card_not_working\",\n \"card_payment_fee_charged\"\
,\n \"card_payment_not_recognised\",\n \"card_payment_wrong_exchange_rate\"\
,\n \"card_swallowed\",\n \"cash_withdrawal_charge\",\n \"cash_withdrawal_not_recognised\"\
,\n \"change_pin\",\n \"compromised_card\",\n \"contactless_not_working\"\
,\n \"country_support\",\n \"declined_card_payment\",\n \"declined_cash_withdrawal\"\
,\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\",\n \"\
disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n] [label].replace(\"_\", \"\
\ \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: topic
reference: ''
2520f6d0-fcdf-44b6-abb3-a76e44948047: !Template
answer_choices: null
id: 2520f6d0-fcdf-44b6-abb3-a76e44948047
jinja: "To which department in the bank can this query be directed?\n\n{{text}}\
\ |||\n{{\n[\n \"activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\"\
,\n \"atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n] [label] | replace(\"_\"\
, \" \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: department
reference: ''
9482bce0-f201-451b-9384-af588d707629: !Template
answer_choices: null
id: 9482bce0-f201-451b-9384-af588d707629
jinja: "\n{% set li = [ \"activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\"\
,\n \"atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n] %}\n\nTo which department\
\ ({{li|join(\", \")|replace(\"_\", \" \")}}) in the bank can this query be\
\ directed?\n\n{{text}} |||\n{{ li [label] | replace(\"_\", \" \")}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: department_options
reference: ''
e629d77c-46f9-4e00-b23a-c522d07a9943: !Template
answer_choices: null
id: e629d77c-46f9-4e00-b23a-c522d07a9943
jinja: "Summarise the following query in the form of key banking terms\n\n{{text}}\
\ |||\n{{\n[\n \"activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\"\
,\n \"atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n][label].replace(\"_\", \"\
\ \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: rephrase
reference: ''
edd67883-0386-4496-af7f-37a44c41293f: !Template
answer_choices: null
id: edd67883-0386-4496-af7f-37a44c41293f
jinja: "\n{% set li = [ \"activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\"\
,\n \"atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n] %}\n\nWhich intent ({{ li|join(\"\
, \")|replace(\"_\", \" \")}}) best represents this banking query?\n\n{{text}}\
\ |||\n{{\nli [label] | replace(\"_\", \" \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: intent_options
reference: ''
eee2366a-8f0c-4ac3-b9cc-aa038e40f8cb: !Template
answer_choices: null
id: eee2366a-8f0c-4ac3-b9cc-aa038e40f8cb
jinja: "What is the intent of this banking query?\n\n{{text}} |||\n{{\n[\n \"\
activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\",\n \"\
atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n] [label].replace(\"_\", \"\
\ \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: intent
reference: ''
f4e80455-1523-4b91-aacc-249d8c6f0f2a: !Template
answer_choices: null
id: f4e80455-1523-4b91-aacc-249d8c6f0f2a
jinja: "Generate the subject for the email containing this query:\n\n{{text}}\
\ |||\n{{\n[\n \"activate_my_card\",\n \"age_limit\",\n \"apple_pay_or_google_pay\"\
,\n \"atm_support\",\n \"automatic_top_up\",\n \"balance_not_updated_after_bank_transfer\"\
,\n \"balance_not_updated_after_cheque_or_cash_deposit\",\n \"beneficiary_not_allowed\"\
,\n \"cancel_transfer\",\n \"card_about_to_expire\",\n \"card_acceptance\"\
,\n \"card_arrival\",\n \"card_delivery_estimate\",\n \"card_linking\",\n\
\ \"card_not_working\",\n \"card_payment_fee_charged\",\n \"card_payment_not_recognised\"\
,\n \"card_payment_wrong_exchange_rate\",\n \"card_swallowed\",\n \"cash_withdrawal_charge\"\
,\n \"cash_withdrawal_not_recognised\",\n \"change_pin\",\n \"compromised_card\"\
,\n \"contactless_not_working\",\n \"country_support\",\n \"declined_card_payment\"\
,\n \"declined_cash_withdrawal\",\n \"declined_transfer\",\n \"direct_debit_payment_not_recognised\"\
,\n \"disposable_card_limits\",\n \"edit_personal_details\",\n \"exchange_charge\"\
,\n \"exchange_rate\",\n \"exchange_via_app\",\n \"extra_charge_on_statement\"\
,\n \"failed_transfer\",\n \"fiat_currency_support\",\n \"get_disposable_virtual_card\"\
,\n \"get_physical_card\",\n \"getting_spare_card\",\n \"getting_virtual_card\"\
,\n \"lost_or_stolen_card\",\n \"lost_or_stolen_phone\",\n \"order_physical_card\"\
,\n \"passcode_forgotten\",\n \"pending_card_payment\",\n \"pending_cash_withdrawal\"\
,\n \"pending_top_up\",\n \"pending_transfer\",\n \"pin_blocked\",\n \"\
receiving_money\",\n \"Refund_not_showing_up\",\n \"request_refund\",\n \"\
reverted_card_payment?\",\n \"supported_cards_and_currencies\",\n \"terminate_account\"\
,\n \"top_up_by_bank_transfer_charge\",\n \"top_up_by_card_charge\",\n \"\
top_up_by_cash_or_cheque\",\n \"top_up_failed\",\n \"top_up_limits\",\n \"\
top_up_reverted\",\n \"topping_up_by_card\",\n \"transaction_charged_twice\"\
,\n \"transfer_fee_charged\",\n \"transfer_into_account\",\n \"transfer_not_received_by_recipient\"\
,\n \"transfer_timing\",\n \"unable_to_verify_identity\",\n \"verify_my_identity\"\
,\n \"verify_source_of_funds\",\n \"verify_top_up\",\n \"virtual_card_not_working\"\
,\n \"visa_or_mastercard\",\n \"why_verify_identity\",\n \"wrong_amount_of_cash_received\"\
,\n \"wrong_exchange_rate_for_cash_withdrawal\"\n][label].replace(\"_\", \"\
\ \")\n}}"
metadata: !TemplateMetadata
choices_in_prompt: null
metrics: []
original_task: null
name: generate_subject
reference: ''