Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -32,7 +32,7 @@ async def getQuestions(job_description: str, no_of_questions: int):
|
|
32 |
"content": "You are a helpful assistant designed to output JSON in this format [question-text as key and its value as answer-text]"},
|
33 |
{"role": "user",
|
34 |
"content": f"Given the job description [{job_description}] create {no_of_questions} "
|
35 |
-
f"interview questions and their corresponding answers"}
|
36 |
]
|
37 |
)
|
38 |
result = response.choices[0].message.content
|
|
|
32 |
"content": "You are a helpful assistant designed to output JSON in this format [question-text as key and its value as answer-text]"},
|
33 |
{"role": "user",
|
34 |
"content": f"Given the job description [{job_description}] create {no_of_questions} "
|
35 |
+
f"interview questions and their corresponding answers, you need to act like a domain expert and ask relevant questions to the job description only."}
|
36 |
]
|
37 |
)
|
38 |
result = response.choices[0].message.content
|