Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motor Vehicle Tax Service changes #719

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions DSL/DMapper/locations/data/domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ intents:
- common_service_CPI
- common_service_unemployment_rate
- common_service_estimated_subsistence_minimum
- common_service_motor_vehicle_tax

entities:
- asukoht
Expand All @@ -45,6 +46,7 @@ entities:
- last_holiday
- last_holidays
- by_year
- reg_number

slots:
common_teenus_ilm_asukoht:
Expand All @@ -55,6 +57,18 @@ slots:
entity: asukoht
intent: common_teenus_ilm

reg_number:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: reg_number
intent: common_service_motor_vehicle_tax
- type: from_text
conditions:
- active_loop: common_service_motor_vehicle_tax_form
requested_slot: reg_number

company_name:
type: text
influence_conversation: true
Expand Down Expand Up @@ -229,6 +243,9 @@ forms:
direct_to_customer_support_form:
required_slots:
- affirm_deny
common_service_motor_vehicle_tax_form:
required_slots:
- reg_number

actions:
- action_ask_custom_fallback_form_affirm_deny
Expand Down Expand Up @@ -387,3 +404,10 @@ responses:

utter_common_service_holidays_by_month:
- text: "#common_service, /GET/calendar/national-holidays/find/by-month, ({by_month_holiday})"

utter_ask_reg_number:
- text: "Mootorsõidukimaksu päringu tegemiseks palun sisestage Eestis registreeritud sõiduki kehtiv registreerimismärk. "

utter_common_service_motor_vehicle_tax:
- text: "#common_service, /GET/motor-vehicle-tax/registration-number, ({reg_number})"