datacipen commited on
Commit
003b616
1 Parent(s): 6983e17

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
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'])