umair894 commited on
Commit
02559e7
·
1 Parent(s): 3cb332e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -36,7 +36,7 @@ async def getQuestions(job_description: str, no_of_questions: int):
36
  response_format={"type": "json_object"}, # To ENABLE JSON MODE
37
  messages=[
38
  {"role": "system",
39
- "content": "You are a helpful assistant designed to output JSON in this format [question-text as key and answer-text as value]"},
40
  {"role": "user",
41
  "content": f"Given the job description [{job_description}] create {no_of_questions} "
42
  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
  response_format={"type": "json_object"}, # To ENABLE JSON MODE
37
  messages=[
38
  {"role": "system",
39
+ "content": "You are a helpful assistant designed to output JSON in this format {question-text : answer-text}"},
40
  {"role": "user",
41
  "content": f"Given the job description [{job_description}] create {no_of_questions} "
42
  f"interview questions and their corresponding answers, you need to act like a domain expert and ask relevant questions to the job description only."}