Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -39,7 +39,7 @@ async def getQuestions(job_description: str, no_of_questions: int):
|
|
| 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.
|
| 43 |
]
|
| 44 |
)
|
| 45 |
result = response.choices[0].message.content
|
|
|
|
| 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."}
|
| 43 |
]
|
| 44 |
)
|
| 45 |
result = response.choices[0].message.content
|