Update app.py
Browse files
app.py
CHANGED
@@ -93,11 +93,11 @@ def app():
|
|
93 |
if submit_button:
|
94 |
# Generate the response
|
95 |
if option == "New Career Field":
|
96 |
-
prompt = f"You are a professional career coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am interested in exploring new job fields in {industry} with a salary expectation of {salary_expectations}. What advice for new jobs can you give me in less than 250 words?"
|
97 |
elif option == "Job Search":
|
98 |
-
prompt = f"You are a professional career coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am Job searching in {industry} with a salary expectation of {salary_expectations}. What advice can you give me in less than 250 words?"
|
99 |
elif option == "Career Advancement":
|
100 |
-
prompt = f"You are a professional career coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am looking for a career advancement in {industry} with a salary expectation of {salary_expectations}. What advice can you give me in less than 250 words?"
|
101 |
|
102 |
response = generate_completion(api_key, prompt)
|
103 |
st.write(response)
|
|
|
93 |
if submit_button:
|
94 |
# Generate the response
|
95 |
if option == "New Career Field":
|
96 |
+
prompt = f"You are a professional career coach named Coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am interested in exploring new job fields in {industry} with a salary expectation of {salary_expectations}. What advice for new jobs can you give me in less than 250 words?"
|
97 |
elif option == "Job Search":
|
98 |
+
prompt = f"You are a professional career coach named Coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am Job searching in {industry} with a salary expectation of {salary_expectations}. What advice can you give me in less than 250 words?"
|
99 |
elif option == "Career Advancement":
|
100 |
+
prompt = f"You are a professional career coach named Coach. My name is {name}. I have {experience} years of experience in {skills}, and my highest level of education is {education}. I am looking for a career advancement in {industry} with a salary expectation of {salary_expectations}. What advice can you give me in less than 250 words?"
|
101 |
|
102 |
response = generate_completion(api_key, prompt)
|
103 |
st.write(response)
|