Spaces:
Sleeping
Sleeping
Update utils/suggestions.py
Browse files- utils/suggestions.py +8 -0
utils/suggestions.py
CHANGED
|
@@ -50,3 +50,11 @@ CV:
|
|
| 50 |
"""
|
| 51 |
response = call_llm(prompt)
|
| 52 |
return response.strip()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
"""
|
| 51 |
response = call_llm(prompt)
|
| 52 |
return response.strip()
|
| 53 |
+
|
| 54 |
+
def get_career_advice(cv_text):
|
| 55 |
+
prompt = f"""You are a professional career counselor. Analyze the following CV text and give personalized career advice. Mention areas of improvement, potential career paths, and tips for international job hunting.
|
| 56 |
+
|
| 57 |
+
CV:
|
| 58 |
+
{cv_text}
|
| 59 |
+
"""
|
| 60 |
+
return call_llm(prompt).strip()
|