intents: - request_certificate: use_entities: [] - request_unknown_certificate: use_entities: [] - inform - affirm - deny - stop - thankyou - greet - bot_challenge - goodbye entities: - certif_type - period - purpose - details - langue - copies_num - endroit - dep_date - dep_date_half_day - end_date - end_date_half_day - number slots: certif_type: type: unfeaturized auto_fill: false period: type: unfeaturized auto_fill: false purpose: type: unfeaturized auto_fill: false details: type: unfeaturized auto_fill: false langue: type: unfeaturized auto_fill: false copies_num: type: unfeaturized auto_fill: false endroit: type: unfeaturized auto_fill: false dep_date: type: unfeaturized auto_fill: false dep_date_half_day: type: unfeaturized auto_fill: false end_date: type: unfeaturized auto_fill: false end_date_half_day: type: unfeaturized auto_fill: false requested_slot: type: unfeaturized templates: utter_ask_certificate: - text: "which type of certificate ?" utter_ask_period: - text: "which date suits you?" utter_ask_purpose: - text: "for what purpose?" utter_ask_details: - text: "please provide additional details" utter_ask_langue: - text: "in which language you want it (FR or EN)?" buttons: - title: "Fr" payload: '/inform{"langue":"fr"}' - title: "En" payload: '/inform{"langue":"en"}' utter_ask_copies_num: - text: "how many copy you want?" utter_ask_endroit: - text: "wich endroit?" utter_ask_dep_date: - text: "please provide the departure date" utter_ask_dep_date_half_day: - text: "half day (yes or no)?" buttons: - title: "yes" payload: 'yes' - title: "no" payload: 'no' utter_ask_end_date: - text: "please provide the end date" utter_ask_end_date_half_day: - text: "half day (yes or no)?" buttons: - title: "yes" payload: 'yes' - title: "no" payload: 'no' utter_goodbye: - text: "Bye!" utter_submit: - text: "All done!" utter_submit_work_salary_certificate: - text: "your request is under review following the parameters:\n - certificate: {certif_type}\n - langue: {langue}\n - copies: {copies_num}\n" utter_submit_expense_report: - text: "your request is under review following the parameters:\n - certificate: {certif_type}\n - period: {period}\n - purpose: {purpose}\n - details: {details}" utter_submit_mission_order: - text: "your request is under review following the parameters:\n - certificate: {certif_type}\n - period: {period}\n - purpose: {purpose}\n - endroit: {endroit}" utter_submit_leave_authorization: - text: "your request is under review following the parameters:\n - certificate: {certif_type}\n - departure date: {dep_date}\n - half day: {dep_date_half_day}\n - end date: {end_date}\n - end date half day: {end_date_half_day}" utter_noworries: - text: "you are welcome :)" utter_ask_continue: - text: "do you want to continue?" utter_wrong_certif_type: - text: "certificate type is not in the database, please try again" utter_wrong_period: - text: "date should be greater than current date, please try again" utter_wrong_langue: - text: "please provide a correct langue (FR or EN), please try again" utter_wrong_copies_num: - text: "please provide a correct number (positive and not null), please try again" utter_wrong_endroit: - text: "please provide a correct endroit, please try again" utter_wrong_dep_date: - text: "date should be greater than current date, please try again" utter_wrong_dep_date_half_day: - text: "please answer by yes or no" utter_wrong_end_date: - text: "date should be greater than current date and greater than the departure date, please try again" utter_wrong_end_date_half_day: - text: "please answer by yes or no" utter_unclear: - text: "sorry, I didn't understand you, please try input something else" utter_greet: - text: "Hello! I am certificate search assistant! How can I help?" utter_iamabot: - text: "I am a bot, powered by xHub." utter_ask_certif_type: - text: 'which type of certificate ?' buttons: - title: "salary certificate" payload: '/request_certificate{"certif_type":"salary certificate"}' - title: "work certificate" payload: '/request_certificate{"certif_type":"work certificate"}' - title: "mission order" payload: '/request_certificate{"certif_type":"mission order"}' - title: "expense report" payload: '/request_certificate{"certif_type":"expense report"}' - title: "leave authorization" payload: '/request_certificate{"certif_type":"leave authorization"}' actions: - utter_noworries - utter_ask_continue - utter_greet - utter_iamabot - utter_goodbye - utter_unclear - utter_ask_certif_type forms: - certificate_form