ombhojane commited on
Commit
eaa7bfe
1 Parent(s): 1e71404

Update summarize.py

Browse files
Files changed (1) hide show
  1. summarize.py +34 -5
summarize.py CHANGED
@@ -90,12 +90,41 @@ def app():
90
 
91
  if st.button("Generate My Career Summary") and all_responses_filled:
92
  combined_responses_text = combine_responses(all_responses)
93
- prompt_template = """Make a summary of skills and experience. And future projection of what job a person can do next
94
- Considering all above question responses including values, strengths, weaknesses
95
- Recommend the best next career option this person can do and what upskilling they require
96
- Suggest best certifications, best courses for this person
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  """
98
- prompt = prompt_template + combined_responses_text
99
 
100
  try:
101
  # Attempt to generate a comprehensive career summary and future projection
 
90
 
91
  if st.button("Generate My Career Summary") and all_responses_filled:
92
  combined_responses_text = combine_responses(all_responses)
93
+ inputs = """
94
+ Based on the following inputs, provide recommendations for job opportunities, core values, strengths, and weaknesses, as well as suggested certifications to help the individual align with their desired career path.
95
+ Inputs:
96
+ """
97
+ prompt_template = """
98
+ Next Job:
99
+ 1. List the best suitable job role based on the user's preferences and strengths.
100
+ 3. Provide a brief explanation of how the job aligns with the user's strengths and values.
101
+
102
+ Core Values:
103
+ 1. List the core values user has
104
+ 2. Calculate the rating of core values the user possesses based on the recommended job profile. Give the rating in percentage.
105
+ 3. Identify any core values the user should develop to better align with the recommended job profile.
106
+ 4. Status: user_has if user has it, user_should_develop, if user should develop it
107
+
108
+ Strengths:
109
+ 1. List the strengths user has.
110
+ 2. Calculate the rating of strengths the user possesses based on the recommended job profile. Give the rating in percentage.
111
+ 3. Identify any strengths the user should develop to better align with the recommended job profile.
112
+ 4. Status: user_has if user has it, user_should_develop, if user should develop it
113
+
114
+ Weaknesses:
115
+ 1. Based on the user's responses, list the weaknesses along with justification.
116
+ 2. Calculate the rating of weaknesses the user possesses based on the recommended job profile. Give the rating in percentage.
117
+ 3. Explanation for the same based on the user input.
118
+
119
+ Career Path Analysis:
120
+ Provide a detailed narrative that connects the user's strengths and values with the suggested career paths.
121
+
122
+ Recommended Certifications:
123
+ 1. Suggest relevant certifications from Udacity, Udemy, and Coursera platforms that can help the user acquire the necessary skills and knowledge for their desired career path.
124
+ 2. Provide a brief description of each recommended certification, but do not include links.
125
+
126
  """
127
+ prompt = inputs + combined_responses_text + prompt_template
128
 
129
  try:
130
  # Attempt to generate a comprehensive career summary and future projection