Spaces:
Sleeping
Sleeping
Update function.py
Browse files- function.py +2 -1
function.py
CHANGED
|
@@ -27,7 +27,8 @@ def get_answers(questions,model):
|
|
| 27 |
|
| 28 |
|
| 29 |
def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
|
| 30 |
-
question_prompt = (f'
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
if model == "Open AI":
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
|
| 30 |
+
question_prompt = (f'You are an AI interview assistant that helps generate customized interview questions for various technical and non-technical roles. Your task is to create a set of interview questions based on the {selected_topic_level} and topic : {selected_topic}. Generate only {num_quizzes} questions ')
|
| 31 |
+
# question_prompt = (f'I want you to just generate mockquestion with this specification: Generate a {selected_topic_level} math quiz on the topic of {selected_topic}. Generate only {num_quizzes} questions not more and without providing answers.')
|
| 32 |
|
| 33 |
|
| 34 |
if model == "Open AI":
|