Jan Mühlnikel commited on
Commit
c8bd695
1 Parent(s): 7bff086

text instead of codes as crs

Browse files
modules/singlematch_result_table.py CHANGED
@@ -95,7 +95,6 @@ def show_single_table(selected_project_index, projects_df, result_df):
95
  st.write("No results found!")
96
  else:
97
  result_df = result_df.reset_index(drop=True)
98
- st.write(" ")
99
  st.write("----------------------")
100
  st.dataframe(
101
  result_df[["similarity", "iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "country_flag", "sdg_list", "crs_3_code_list", "crs_5_code_list"]],
 
95
  st.write("No results found!")
96
  else:
97
  result_df = result_df.reset_index(drop=True)
 
98
  st.write("----------------------")
99
  st.dataframe(
100
  result_df[["similarity", "iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "country_flag", "sdg_list", "crs_3_code_list", "crs_5_code_list"]],
similarity_page.py CHANGED
@@ -273,11 +273,19 @@ def show_multi_matching_page():
273
 
274
  def show_single_matching_page():
275
 
 
 
 
 
 
 
 
 
276
  col1, col2 = st.columns([11, 20])
277
  with col1:
278
  st.subheader("Select a reference project")
279
  st.caption("""
280
- ...
281
  """)
282
  with col2:
283
  st.subheader("Filters for similar projects")
 
273
 
274
  def show_single_matching_page():
275
 
276
+ st.caption("""
277
+ Single Project Matching empowers you to choose an individual project using either the project IATI ID or title, and then unveils the top 10 projects
278
+ that bear the closest resemblance to your selected one. This selection is refined using a sophisticated AI algorithm that evaluates similarity based
279
+ on several key dimensions: Sustainable Development Goals (SDG), Creditor Reporting System (CRS) codes, and textual analysis of project titles and
280
+ descriptions.
281
+ """)
282
+ st.write("---------")
283
+
284
  col1, col2 = st.columns([11, 20])
285
  with col1:
286
  st.subheader("Select a reference project")
287
  st.caption("""
288
+ Select a reference project either by its title or IATI ID to find the 10 projects most similar to it.
289
  """)
290
  with col2:
291
  st.subheader("Filters for similar projects")