Spaces:
Sleeping
Sleeping
import streamlit as st | |
import google.generativeai as genai | |
# Header for the Streamlit app | |
st.header("Hey Kiran!") | |
# Retrieve the API key from Streamlit secrets | |
GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"] | |
# Configure the Google Generative AI API with your API key | |
genai.configure(api_key=GOOGLE_API_KEY) | |
# Text input for user prompt | |
user_input = st.text_area("Please paste the JD:") | |
prompt = f""" | |
I am providing Resume and Cover letter below, and I will be pasting the job description too. Acknowledge. | |
Job Description: {user_input} | |
Resume are as below: | |
[ | |
PROFESSIONAL SUMMARY: | |
With 6 years of entrepreneurial and 2+ years of corporate experience, I thrive on solving complex business problems and delivering impactful results. Skilled in data analysis using Excel, Python, SQL, and Power BI, I've driven major growth, like transforming a retailer into a manufacturing business through strategic insights. I’m excited to work with business leaders to enhance people, processes, and organizational success. | |
CORPORATE EXPERIENCE: | |
Title - Senior Data Operations Specialist, Org. - SigTech, Sector - Financial Services, Jul,2022-Feb,2024Established end-to-end data process which included the following; 1. Onboarding key business specification. 2. Design and plan the process. 3. Decided on team size and skills required. 4. Drafting process documents with flow chart on Confluence and identified KPI's. 5. On-boarded team with relevant skills. 6. Trained the team in the process. 7. Measured performance and process metrics. 8. Built KPI dashboards for both people and process. 9. Migrated from confluence to Jira. 10. Established trusted relationship with clients. 11. Documented client requirements efficiently. 12. Designed a fool-proof method (Poka-Yoke) to validate and deliver the data. 13. Achieved 100% client satisfaction and Zero complaints over a year. 14. Managed team appraisal and constant motivation. 15. Conflict resolution through proper brainstorming and documentation in agreement with both parties in conflict. 16. Designed process documents templates for documenting incomplete data pipelines on AWS. 17. Analyzed the cost structure and introduced Snowflake to potentially replace AWS. 18. Solved a major problem of data quality of government bonds by introducing Data governance framework (only PII was managed before), now introduced data quality rules repo and other data transformations techniques. 19. After a year, on-boarded cross departmental teams in Bengaluru, India. 20. Inspired parent financial company from London to establish an office in the same building, now that office has 50+ people successfully operating in quant finance (Inspiration is confirmed from the Global Head HR of the parent company). | |
Title - Consultant, Org. - Kalvi World Solutions Pvt Ltd, Sector - Management Consulting, Client Company - Deluxe Entertainment Services, Sector - Media and Entertainment, Aug,2017 - Sept,2018 1. Successfully mentored 50 plus Six Sigma projects, achieving $200,000 in savings by improving process efficiency and trained 300 plus employees in Six Sigma Yellow belt. 2. Delivered 35% increase in median performance across 40+ processes by designing detailed process maps and conducting time-motion studies. Furthermore, reduced 30% training time of new hires. 3. Proposed $100,000 cost reduction plan through the identification of automation opportunities. | |
ENTREPRENEURIAL EXPERIENCES: Title - Quantitative Analyst, Emp_Type - Self Employed, Sector - Securities Market and Trading, Jun,2020 - Jul,2022 1. Designed and back-tested intraday trading strategies with Python, consistently generating profitable returns through data-driven technical analysis. 2. Implemented robust statistical analysis to optimize trading strategies and identify market trends. | |
Title - Analytics Consultant, Org - Orazen Analytics, Sector - Retail, Nov,2018 - Mar,2020 1. Developed self-serve dashboards using excel and Power BI, empowering stakeholders with real-time data insights aligned with identified KPIs and measured process metrics. 2. Led data analysis initiatives using SQL and Python, identifying trends that increased sales by 30% and optimized business processes for operational efficiency. | |
Title - Founder and Consultant, Firm - Orazen Analytics, Sector - Manufacturing and Retail, Apr,2014 - Mar,2016 1. Onboarded projects in manufacturing industry, initiated diagnostic study, created project charter and improved productivity by 27% through implementing lean methods. 2. Increased sales by 50% via Market Basket Analysis with Python, paving the way for a new manufacturing plant. | |
SKILLS: | |
Technical: Python, SQL (PostgreSQL, MySQL), Power BI, Metabase, MS Excel, AWS, Snowflakes. | |
Analytics: Exploratory Data Analysis, Visualization, Data Quality, ETL, Regressions, Time Series Forecasting. | |
Business: Process Improvements, Agile, Stakeholder Management, Business and Team leadership. | |
EDUCATION AND CERTIFICATIONS: | |
B.E. in Civil Engineering | VTU, Karnataka, 2010 - 2015Certificate Programme in Business Analytics | IIM, Indore, MP, 2021- 2022 Certified Six Sigma Black Belt | MSME, Delhi, 2014 | |
VOLUNTARY SOCIAL WORK: | |
Counsellor, District Sports Centre, Mysuru, 2019 Designed and implemented mental health program tailor made for educational and academic institutions that increased student reporting with mental health issues by 70% promoting trust and open communication. | |
]Resume Concluded | |
Sample Cover letter are as below: | |
[ | |
Dear <Hiring Manager's Name>, | |
I am excited to apply for the [Position Title] role at [Company Name]. With eight years of data operations and analytics experience, I offer a proven record of driving efficiency and strategic innovation aligned with your needs. | |
At SigTech, I developed KPI dashboards that improved decision-making and cut delivery timelines by 25%. Identifying data quality gaps, I collaborated with SMEs to create a Financial Documentation (FD) system—streamlining securities data processing, boosting team productivity by 40%, and reducing new hire training time. My end-to-end data validation process also attracted SigTech’s parent company—a major Hedge Fund—to establish business units in Bangalore, confirmed by the Global Head of HR. | |
At Kalvi World Solutions, I designed a Business Process Transition Tool, standardizing outsourcing across business units. This fostered continuous improvement, enabling the creation of the client’s first Business Intelligence department in Bangalore, later scaled globally. Mentoring 50+ Six Sigma projects, I delivered $200,000 in savings and enhanced cross-functional collaboration. | |
[Company Name]'s focus on [specific value or project] aligns with my passion for leveraging data to drive impact. I am eager to bring my expertise to achieve [specific goal or mission]. | |
I have attached my resume and would welcome the opportunity to discuss how my experience aligns with your team’s objectives. Thank you for considering my application. I look forward to contributing to [Company Name]'s success. | |
Best regards, | |
] | |
Cover letter concluded | |
Output Sections: | |
1. ATS Calculation: Display the ATS score in Percentage | |
1.1. Score and keyword gaps in table format | |
1.2. Skills alignment. | |
2. Resume Summary: | |
Tailored professional summary incorporating relevant achievements and skills. | |
3. Key Highlights: | |
Concise 6 bullet points summarizing quantifiable achievements relevant to the role. | |
4. Experience Modifications: | |
Revised corporate and entrepreneurial experience to align with job requirements. | |
5. Skills Section: | |
Create skills section with 6 categories, each containing comma-separated keywords. Present this in a table format for clarity. | |
6. Resume Content Adjustments: | |
6.1. Modify the most recent and relevant experiences to resonate with the job description, retaining quantifications. | |
6.2. Reduce the content size of less relevant experiences while maintaining key points. | |
7. Preparation Plan: | |
7.1. Suggest topics to study and any quick projects to undertake for skill demonstration. | |
7.2. Provide relevant links for further reading or practice. | |
8. Interview Questions: | |
8.1. Include a table with top interview questions likely to be faced, tailored to the job description. | |
9. Project Suggestions: | |
9.1. List potential projects to showcase expertise based on the job description, presented in a table format. | |
10. Good-to-Have Interview Options: | |
10.1. Recommend additional preparation strategies or talking points for the interview. | |
11. Cover Letter Generation: | |
11.1. Create a compelling cover letter to the hiring manager that highlights key achievements, aligns with the company’s mission, and concludes with an irresistible curiosity hook for the manager. | |
12. Writing Style Adaptation: | |
12.1. Ensure results follow the user’s preferred prompt writing style, incorporating specific instructions and delivering clear, structured outputs. | |
Modified Prompt | |
"Generate a tailored job application for the role for the provided Job description. Include: | |
ATS Score and Keyword Analysis in the table format for clarity: | |
Evaluate the resume against the job description for ATS compatibility. Identify gaps in keywords and suggest improvements. | |
Resume Summary: | |
Craft a professional summary focusing on: | |
Expertise in [relevant skills, e.g., data analysis, business intelligence]. | |
Leadership in fostering collaborative environments and driving innovation. | |
Key achievements relevant to the role. | |
Key Highlights: | |
Provide 6 bullet points of quantifiable achievements, e.g.,: | |
Designed [specific tool/process] leading to [outcome]. | |
Increased team productivity by X% through [initiative]. | |
[Other quantifiable impact]. | |
Skills Section: | |
Create a structured table with 6 main categories of skills, ensuring maximum keyword relevance and alignment with the job description. | |
Experience Details: | |
Revise and tailor experience sections for relevance: | |
Corporate Experience: Highlight leadership, technical expertise, and quantifiable outcomes aligned with the job description. | |
Entrepreneurial Experience: Summarize briefly, focusing on adaptability, independence, and relevant skills. | |
Preparation Plan: | |
Suggest topics to study, quick projects to undertake, and provide relevant links for effective preparation. | |
Interview Questions: | |
Provide a table of top interview questions relevant to the role, ensuring comprehensive coverage of key areas. | |
Project Suggestions: | |
Include a table of project ideas that align with the job description and showcase relevant skills. | |
Good-to-Have Interview Options: | |
Suggest additional preparation tips, strategies, or resources to excel in the interview. | |
Cover Letter: refer the given sample cover letter above | |
Write a compelling cover letter emphasizing key achievements, aligning with the company’s mission, and concluding with a curiosity-invoking statement to engage the hiring manager. | |
""" | |
# Button to submit the prompt | |
if st.button("Create Custom Resume"): | |
if user_input: | |
# Initialize the model | |
model = genai.GenerativeModel('gemini-pro') # Assuming this is the correct model | |
try: | |
# Generate content based on the user's input | |
response = model.generate_content(prompt) | |
# Display the generated content | |
st.write("Generated Content:") | |
st.write(response.text) | |
except Exception as e: | |
st.error(f"Error: {e}") | |
else: | |
st.error("Please enter a prompt.") | |