def slot_message()

in source/services/lex-bot/book_appointment/appointment_helpers.py [0:0]


def slot_message(language, slot_type):
    slot_message_values = {
        "English": {
            "appointmentType": {
                "value": "What type of appointment would you like to schedule?"
            },
            "date": {"value": "When should I schedule your appointment?"},
            "time": {"value": "At what time should I schedule your appointment?"},
        },
        "French": {
            "appointmentType": {
                "value": "Quel type de rendez-vous souhaitez-vous prendre ?"
            },
            "date": {"value": "Quand souhaitez-vous prendre rendez-vous ?"},
            "time": {"value": "À quelle heure souhaitez-vous prendre rendez-vous ?"},
        },
        "Italian": {
            "appointmentType": {
                "value": "Quale tipo di appuntamento vorresti programmare?"
            },
            "date": {"value": "Quando devo programmare il tuo appuntamento?"},
            "time": {"value": "A che ora devo programmare il tuo appuntamento?"},
        },
        "Spanish": {
            "appointmentType": {"value": "¿Qué tipo de cita quieres pedir?"},
            "date": {"value": "¿Para cuándo quieres la cita?"},
            "time": {"value": "¿Para qué hora te pido la cita?"},
        },
        "German": {
            "appointmentType": {"value": "Welchen Typ von Termin möchten Sie planen?"},
            "date": {"value": "Für welches Datum soll ich den Termin planen?"},
            "time": {"value": "Für welche Uhrzeit soll ich den Termin planen?"},
        },
        "Japanese": {
            "appointmentType": {"value": "どのような予約を行いたいですか?"},
            "date": {"value": "何日に予約を入れればいいですか?"},
            "time": {"value": "何時に予約を入れればいいですか?"},
        },
    }
    return slot_message_values[language][slot_type]