hinojosachapel commited on
Commit
32593f9
1 Parent(s): 558f664

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -11
app.py CHANGED
@@ -15,17 +15,11 @@ def get_job_description(company_name, sector, job_position):
15
  messages = [
16
  {
17
  "role": "user",
18
- "content": f"You are the bot director of Human Resources at { company_name }, a company of the { sector } sector. " +
19
- "Your goal is to hire people in different departments of the company. " +
20
- "Generate a text that describes the job in a creative, modern, formal and attractive way."
21
- },
22
- {
23
- "role": "assistant",
24
- "content": "Tell me what job role it is and I'll generate the description for you!"
25
- },
26
- {
27
- "role": "user",
28
- "content": job_position
29
  },
30
  {
31
  "role": "assistant",
 
15
  messages = [
16
  {
17
  "role": "user",
18
+ "content": f"""
19
+ You are the Talent Acquisition Manager at { company_name }, a company of the { sector } sector.
20
+ Your goal is to hire people in different departments of the company.
21
+ I want to generate a Job Description that describes the job role '{ job_position }' in a creative, modern, formal and attractive way.
22
+ """
 
 
 
 
 
 
23
  },
24
  {
25
  "role": "assistant",