-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconstants.py
41 lines (39 loc) · 1.04 KB
/
constants.py
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
36
37
38
39
40
41
# LLMs
langchain_chat_kwargs = {
"temperature": 0,
"max_tokens": 4000,
"verbose": True,
}
chat_openai_model_kwargs = {
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": -1,
}
# Database constants
RAPPEL_CONSO_COLUMNS = [
"reference_fiche",
"risques_pour_le_consommateur",
"recommandations_sante",
"date_debut_commercialisation",
"date_fin_commercialisation",
"informations_complementaires",
"categorie_de_produit",
"sous_categorie_de_produit",
"nom_de_la_marque_du_produit",
"noms_des_modeles_ou_references",
"identification_des_produits",
"conditionnements",
"temperature_de_conservation",
"zone_geographique_de_vente",
"distributeurs",
"motif_du_rappel",
"numero_de_contact",
"modalites_de_compensation",
"liens_vers_les_images",
"lien_vers_la_liste_des_produits",
"lien_vers_la_liste_des_distributeurs",
"lien_vers_affichette_pdf",
"lien_vers_la_fiche_rappel",
"date_de_publication",
"date_de_fin_de_la_procedure_de_rappel",
]