Danial7 commited on
Commit
f785ae8
·
verified ·
1 Parent(s): 934a3a3

Update utils/suggestions.py

Browse files
Files changed (1) hide show
  1. utils/suggestions.py +8 -0
utils/suggestions.py CHANGED
@@ -42,3 +42,11 @@ CV:
42
  response = call_llm(prompt)
43
  return response.strip()
44
 
 
 
 
 
 
 
 
 
 
42
  response = call_llm(prompt)
43
  return response.strip()
44
 
45
+ def get_visa_recommendations(cv_text):
46
+ prompt = f"""You are a global career visa advisor. Based on the following CV text, suggest 3 countries where the candidate has a high chance of qualifying for a work visa. Mention the type of visa, eligibility reasons, and links if possible.
47
+
48
+ CV:
49
+ {cv_text}
50
+ """
51
+ response = call_llm(prompt)
52
+ return response.strip()