File size: 2,046 Bytes
7fea1f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
plan_language = 'en'
content_language = 'en'
plan_path = 'data/business_trips_plan_until_end_en.docx'
content_en_path = 'data/business_trips_content_until_end_en.docx'
content_fr_path = 'data/business_trips_content_until_end_fr.docx'

collection_name = "until_end"
OpenAI_KEY = "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"
examples = {
    "Remboursement de frais de voiture": "Comment sont remboursés mes frais kilométriques sur mes trajets "
                                         "professionnels?",
    "Recommandations de transport": "Quelles sont les recommandations de l'entreprise? "
                                    "Vaut-il mieux voyager en train ou en avion?",
    "Indemnités pour des séjours longs à l'étranger": "Y a-t-il des indemnités pour des séjours longs à l'étranger?",
    "Indemnités pour des séjours longs en Bolivie": "Y a-t-il des indemnités pour des séjours longs en Bolivie?",
    "Indemnités pour les repas aux Pays-Bas": "Quelles sont les indemnités pour les repas au Pays-Bas?"
}
countries_extensions = {
    'Royaume-Uni': ['UK', 'U.K.','RU', 'R.U.', 'Angleterre'],
    'Etats-Unis': ['Etats-unis', 'Etats Unis', 'Etats unis', 'ETATS-UNIS', 'USA'],
    'E.A.U': ["EAU", "Emirats", "Emirats Arabes Unis", "Emirates", "UAE", "United Arab Emirates"],
    'Pays-Bas': ['Les Pays-Bas']
}
specials = {'remote_rate_path': 'data/remote_rates.csv',
            'remote_rate_known': "the scale rate of remoteness for the ",

            'remote_rate_unknown': "the scale rate of remoteness for the country  mentionned is unknown. Allowances "
            "apply though",
            'accommodation_meal_path': 'data/accommodation_meal_rates.csv',
            'accommodation_meal_known': 'the rates for accommodation and meals are the following: ',
            'accommodation_meal_unknown': 'the rates for accommodation and meals are not defined for the country '
                                              'mentionned ',
            'countries_extensions': countries_extensions,
            }