JaphetHernandez commited on
Commit
9023b80
·
verified ·
1 Parent(s): 219f9d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -62,10 +62,7 @@ def main():
62
  job_titles = df['job_title'].tolist()
63
  # Prompt inicial
64
  initial_prompt = (""""
65
- f"You are an AI assistant. You have a list of job titles in {job_titles} and a search query {query}.\n"
66
- f"Your task is to rank these job titles {job_titles} by their semantic similarity to the given query {query} using the cosine similarity score.\n "
67
- f"Create a dataframe called df_2 that includes a column 'titles' with the values of {job_titles} and a new column called 'score' in which you will record the cosine similarity score that you calculated previously.\n"
68
- f"Finally, print df_2 in the screen"
69
  """
70
  )
71
  st.write(f"Query: {query}")
 
62
  job_titles = df['job_title'].tolist()
63
  # Prompt inicial
64
  initial_prompt = (""""
65
+ f"I want you to print the first record of {df} in the screen.
 
 
 
66
  """
67
  )
68
  st.write(f"Query: {query}")