Update main.py
Browse files
main.py
CHANGED
@@ -790,9 +790,10 @@ async def creation_liste_skills_Esco(competence, categorie):
|
|
790 |
docsearch = await connexion_catalogue_Rome()
|
791 |
retrieve_comp = docsearch.similarity_search(competence, k=40, filter={"categorie": {"$eq": categorie}})
|
792 |
retrieve = pd.DataFrame(retrieve_comp)
|
793 |
-
codeRome = []
|
794 |
competence = []
|
|
|
795 |
metier = []
|
|
|
796 |
for i in range(0,len(retrieve_comp)):
|
797 |
competence.append(retrieve_comp[i].metadata['compétence'])
|
798 |
description_competence.append(retrieve_comp[i].metadata['description_compétence'])
|
|
|
790 |
docsearch = await connexion_catalogue_Rome()
|
791 |
retrieve_comp = docsearch.similarity_search(competence, k=40, filter={"categorie": {"$eq": categorie}})
|
792 |
retrieve = pd.DataFrame(retrieve_comp)
|
|
|
793 |
competence = []
|
794 |
+
description_competence = []
|
795 |
metier = []
|
796 |
+
description_metier = []
|
797 |
for i in range(0,len(retrieve_comp)):
|
798 |
competence.append(retrieve_comp[i].metadata['compétence'])
|
799 |
description_competence.append(retrieve_comp[i].metadata['description_compétence'])
|