Update main.py
Browse files
main.py
CHANGED
@@ -619,7 +619,7 @@ async def main(message: cl.Message):
|
|
619 |
list_FT = df_FT_Select.values.tolist()
|
620 |
context = ''
|
621 |
for i in range(0,len(list_FT)):
|
622 |
-
context += "\n✔️ Emploi : " + str(list_FT[i][0]) + ";\nURL : https://candidat.francetravail.fr/offres/recherche/detail/" + str(list_FT[i][9]) +
|
623 |
|
624 |
listEmplois_name = f"Liste des emplois"
|
625 |
text_elements = []
|
|
|
619 |
list_FT = df_FT_Select.values.tolist()
|
620 |
context = ''
|
621 |
for i in range(0,len(list_FT)):
|
622 |
+
context += "\n✔️ Emploi : " + str(list_FT[i][0]) + ";\nURL : https://candidat.francetravail.fr/offres/recherche/detail/" + str(list_FT[i][9]) + ";\n◉ Contrat : " + str(list_FT[i][1]) + ";\n◉ Compétences professionnelles : " + str(list_FT[i][3]).replace("{","").replace("}","").replace("[","").replace("]","").replace("code","").replace("libelle","") + ";\n" + "◉ Salaire : " + str(list_FT[i][6]).replace("{","").replace("}","").replace("[","").replace("]","") + ";\n◉ Qualification : " + str(list_FT[i][5]).replace("'libelle'","\n• 'libelle").replace("{","").replace("}","").replace("[","").replace("]","").replace("code","") + ";\n◉ Localisation : " + str(list_FT[i][7]).replace("{","").replace("}","").replace("[","").replace("]","") + ";\n◉ Expérience : " + str(list_FT[i][2]) + ";\n◉ Niveau de qualification : " + str(list_FT[i][8]).replace("{","").replace("}","").replace("[","").replace("]","") + ";\n◉ Description de l'emploi : " + str(list_FT[i][4]) + "\n"
|
623 |
|
624 |
listEmplois_name = f"Liste des emplois"
|
625 |
text_elements = []
|