Spaces:
Runtime error
Runtime error
Commit ·
a172d36
1
Parent(s): a35bf08
refactor: Add job description to feedback API and fix text handling
Browse files- app.py +3 -1
- resources/Senior_Product_Manager_Job_Description.txt +50 -0
- resources/Senior_Product_Manager_Resume.txt +75 -58
- src/__pycache__/api_calls.cpython-310.pyc +0 -0
- src/__pycache__/constants.cpython-310.pyc +0 -0
- src/__pycache__/utils.cpython-310.pyc +0 -0
- src/api_calls.py +4 -1
- src/utils.py +1 -1
app.py
CHANGED
|
@@ -230,7 +230,9 @@ def create_demo():
|
|
| 230 |
|
| 231 |
if conversation_end_flag:
|
| 232 |
if conversation_mode == 'Interviewer':
|
| 233 |
-
feedback_output = conversation_feedback_api_call(chat_memory['messages'], feedback_type.lower(), include_resume_text)
|
|
|
|
|
|
|
| 234 |
|
| 235 |
feedback_show_legend, highlighted_feedback = highlight_feedback(feedback_output)
|
| 236 |
feedback_value = [("Whole conversation feedback\n\n", None)] + highlighted_feedback
|
|
|
|
| 230 |
|
| 231 |
if conversation_end_flag:
|
| 232 |
if conversation_mode == 'Interviewer':
|
| 233 |
+
feedback_output = conversation_feedback_api_call(chat_memory['messages'], feedback_type.lower(), include_resume_text, include_job_description="")
|
| 234 |
+
|
| 235 |
+
print(feedback_output)
|
| 236 |
|
| 237 |
feedback_show_legend, highlighted_feedback = highlight_feedback(feedback_output)
|
| 238 |
feedback_value = [("Whole conversation feedback\n\n", None)] + highlighted_feedback
|
resources/Senior_Product_Manager_Job_Description.txt
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# **Job Description: Product Manager**
|
| 2 |
+
|
| 3 |
+
## **Summary**
|
| 4 |
+
InnovateTech Solutions is seeking an experienced **Product Manager** to lead and manage the delivery of innovative products that meet customer needs across a variety of sectors, including **fintech**, **healthcare**, and **e-commerce**. The ideal candidate will be responsible for the product vision, strategy, and roadmap, working with cross-functional teams to ensure each step of the product lifecycle, from concept to market launch, is executed efficiently and on time.
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
## **Job Summary**
|
| 9 |
+
The Product Manager will be responsible for understanding customer needs and translating them into clear and detailed product specifications. Working in an **agile environment**, the candidate will lead development, design, and marketing teams to create solutions that solve real business problems. This role requires strong **analytical, communication**, and **leadership skills**, as well as hands-on experience in managing digital products.
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## **Primary Responsibilities**
|
| 14 |
+
- Define and communicate the **product vision**, aligning it with company goals.
|
| 15 |
+
- Develop and maintain the **product roadmap**, ensuring alignment with stakeholder needs.
|
| 16 |
+
- Lead the product development process, from ideation to market launch.
|
| 17 |
+
- Conduct **market research** to understand user needs and the competitive landscape.
|
| 18 |
+
- Collaborate with **engineering, design, and marketing teams** to ensure product success.
|
| 19 |
+
- Track **product performance metrics**, adjusting strategies as needed to meet defined **KPIs** and **OKRs**.
|
| 20 |
+
- Facilitate **sprint planning meetings** and set priorities for development teams.
|
| 21 |
+
- Ensure product deliveries meet **quality standards** and **budget constraints**.
|
| 22 |
+
- Actively participate in **post-launch feedback** processes for continuous improvement.
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## **Basic Qualifications**
|
| 27 |
+
- Bachelor's degree in **Business Administration**, **Computer Science**, or a related field.
|
| 28 |
+
- Minimum of **8 years of experience** in product management, preferably in **technology** or **software companies**.
|
| 29 |
+
- Proven track record of launching successful products in **agile environments**.
|
| 30 |
+
- Knowledge of **agile development methodologies** (Scrum, Kanban).
|
| 31 |
+
- Strong leadership skills with experience managing **cross-functional teams**.
|
| 32 |
+
- Excellent **verbal and written communication skills**.
|
| 33 |
+
- Ability to **analyze data** and translate insights into product decisions.
|
| 34 |
+
- Familiarity with **product management tools** such as JIRA, Confluence, and Trello.
|
| 35 |
+
- Willingness to **travel occasionally**.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## **Preferred Qualifications**
|
| 40 |
+
- Previous experience in **startups** or **fast-growing companies**.
|
| 41 |
+
- MBA or **Master's degree** in related fields.
|
| 42 |
+
- Experience with **data analytics tools** and product metrics such as **Google Analytics**, **Mixpanel**, or **Amplitude**.
|
| 43 |
+
- Certifications in product management such as **Certified Scrum Product Owner (CSPO)** or **Pragmatic Marketing**.
|
| 44 |
+
- Proficiency in **design thinking** and **customer experience**.
|
| 45 |
+
- Knowledge of **A/B testing techniques** and product hypothesis validation.
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## **Pay Range**
|
| 50 |
+
**$120,000.00 - $200,000.00** depending on experience and qualifications.
|
resources/Senior_Product_Manager_Resume.txt
CHANGED
|
@@ -1,58 +1,75 @@
|
|
| 1 |
-
John Doe
|
| 2 |
-
New York, NY 10001
|
| 3 |
-
john.doe@gmail.com • www.linkedin.com/in/johndoe
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
Key Achievements
|
| 36 |
-
-
|
| 37 |
-
-
|
| 38 |
-
-
|
| 39 |
-
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
-
|
| 58 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# **John Doe**
|
| 2 |
+
New York, NY 10001
|
| 3 |
+
[**john.doe@gmail.com**](mailto:john.doe@gmail.com) • [**LinkedIn**](https://www.linkedin.com/in/johndoe)
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## **Product Manager**
|
| 8 |
+
Experienced **Product Manager** with over **10 years** of expertise in driving the development, launch, and optimization of **digital products** across industries including **fintech**, **healthcare**, and **e-commerce**. Adept at leading **cross-functional teams** and aligning product vision with business goals to deliver **scalable solutions** that enhance **user experience** and drive **revenue growth**.
|
| 9 |
+
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
## **Areas of Expertise**
|
| 13 |
+
- Product Lifecycle Management
|
| 14 |
+
- Agile Methodologies (Scrum, Kanban)
|
| 15 |
+
- Market Research and User Experience (UX)
|
| 16 |
+
- Roadmap Development and Strategy
|
| 17 |
+
- Cross-functional Team Leadership
|
| 18 |
+
- KPI and OKR Tracking
|
| 19 |
+
- A/B Testing and Data-Driven Decision Making
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## **Technical Proficiencies**
|
| 24 |
+
- **Product Management Tools**: JIRA, Confluence, Trello
|
| 25 |
+
- **Data Analytics**: Google Analytics, Mixpanel, Amplitude
|
| 26 |
+
- **Prototyping and UX**: Figma, Sketch
|
| 27 |
+
- **Development**: HTML, CSS, JavaScript (basic understanding)
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## **Professional Experience**
|
| 32 |
+
|
| 33 |
+
### **InnovateTech Solutions**, New York, NY
|
| 34 |
+
**Product Manager** *(April 2018 – Present)*
|
| 35 |
+
**Key Achievements:**
|
| 36 |
+
- Spearheaded the development and launch of a **B2B fintech platform**, resulting in a **25% increase** in customer acquisition.
|
| 37 |
+
- Developed and maintained the **product roadmap**, aligning it with the company’s strategic vision and market trends.
|
| 38 |
+
- Led a **cross-functional team** of 20+ members, including engineers, designers, and marketers, to deliver products **on time** and **within budget**.
|
| 39 |
+
- Introduced **A/B testing** and data-driven decision-making, improving feature adoption by **15%**.
|
| 40 |
+
- Collaborated closely with clients to gather feedback and iteratively improve the product offering.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
### **HealthSync, Inc.**, Boston, MA
|
| 45 |
+
**Senior Product Manager** *(May 2014 – March 2018)*
|
| 46 |
+
**Key Achievements:**
|
| 47 |
+
- Managed the **end-to-end product lifecycle** for a suite of **healthcare management tools**, increasing user engagement by **30%**.
|
| 48 |
+
- Worked with stakeholders to translate high-level business requirements into detailed product specifications.
|
| 49 |
+
- Implemented customer feedback loops and UX enhancements, leading to a **20% decrease** in churn rate.
|
| 50 |
+
- Led **cross-functional sprint planning** and retrospective meetings, ensuring smooth project execution.
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
### **EduTech**, Chicago, IL
|
| 55 |
+
**Product Manager** *(July 2010 – April 2014)*
|
| 56 |
+
**Key Achievements:**
|
| 57 |
+
- Successfully launched a **SaaS-based learning management system**, which became a **key revenue driver** for the company.
|
| 58 |
+
- Conducted **market research** to identify key user pain points and align product features with customer needs.
|
| 59 |
+
- Led the migration to an **agile development process**, reducing time to market for new features by **35%**.
|
| 60 |
+
- Collaborated with engineering teams to optimize **product performance** and **scalability**.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## **Education**
|
| 65 |
+
**New York University**, New York, NY
|
| 66 |
+
**MBA in Business Strategy**, 2010
|
| 67 |
+
|
| 68 |
+
**University of California**, Berkeley, CA
|
| 69 |
+
**Bachelor of Science in Computer Science**, 2006
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## **Certifications**
|
| 74 |
+
- Certified Scrum Product Owner (CSPO)
|
| 75 |
+
- Pragmatic Marketing Certified
|
src/__pycache__/api_calls.cpython-310.pyc
ADDED
|
Binary file (2.25 kB). View file
|
|
|
src/__pycache__/constants.cpython-310.pyc
ADDED
|
Binary file (8.93 kB). View file
|
|
|
src/__pycache__/utils.cpython-310.pyc
ADDED
|
Binary file (3.96 kB). View file
|
|
|
src/api_calls.py
CHANGED
|
@@ -75,7 +75,7 @@ def ideal_answer_api_call(interview_data_with_feedback, feedback_type, include_r
|
|
| 75 |
else:
|
| 76 |
return f"Error: Received status code {response.status_code} from the API"
|
| 77 |
|
| 78 |
-
def conversation_feedback_api_call(interview_data, feedback_type, include_resume_text):
|
| 79 |
data = {
|
| 80 |
"job_title": "Senior Product Manager",
|
| 81 |
"interview_data": interview_data,
|
|
@@ -85,6 +85,9 @@ def conversation_feedback_api_call(interview_data, feedback_type, include_resume
|
|
| 85 |
if include_resume_text:
|
| 86 |
data["resume_text"] = RESUME_TEXT
|
| 87 |
|
|
|
|
|
|
|
|
|
|
| 88 |
response = api_call(CONVERSATIONAL_MODEL_FEEDBACK_API_ENDPOINT, data)
|
| 89 |
|
| 90 |
if response.status_code == 200:
|
|
|
|
| 75 |
else:
|
| 76 |
return f"Error: Received status code {response.status_code} from the API"
|
| 77 |
|
| 78 |
+
def conversation_feedback_api_call(interview_data, feedback_type, include_resume_text, include_job_description):
|
| 79 |
data = {
|
| 80 |
"job_title": "Senior Product Manager",
|
| 81 |
"interview_data": interview_data,
|
|
|
|
| 85 |
if include_resume_text:
|
| 86 |
data["resume_text"] = RESUME_TEXT
|
| 87 |
|
| 88 |
+
if include_job_description:
|
| 89 |
+
data["job_description"] = JOB_DESCRIPTION
|
| 90 |
+
|
| 91 |
response = api_call(CONVERSATIONAL_MODEL_FEEDBACK_API_ENDPOINT, data)
|
| 92 |
|
| 93 |
if response.status_code == 200:
|
src/utils.py
CHANGED
|
@@ -34,7 +34,7 @@ def generate_session_id():
|
|
| 34 |
|
| 35 |
def highlight_feedback(feedback_output):
|
| 36 |
if not feedback_output["feedback_by_category"]:
|
| 37 |
-
return False, [(feedback_output["feedback_text"], None)]
|
| 38 |
return True, [(item["text"], item["category"]) for item in feedback_output["feedback_by_category"]]
|
| 39 |
|
| 40 |
def show_popup(selected_resume, selected_company):
|
|
|
|
| 34 |
|
| 35 |
def highlight_feedback(feedback_output):
|
| 36 |
if not feedback_output["feedback_by_category"]:
|
| 37 |
+
return False, [(str(feedback_output["feedback_text"]), None)]
|
| 38 |
return True, [(item["text"], item["category"]) for item in feedback_output["feedback_by_category"]]
|
| 39 |
|
| 40 |
def show_popup(selected_resume, selected_company):
|