Spaces:
Sleeping
Sleeping
Update function.py
Browse files- function.py +1 -1
function.py
CHANGED
@@ -27,7 +27,7 @@ def get_answers(questions,model):
|
|
27 |
|
28 |
|
29 |
def GetLLMResponse(selected_topic_level, selected_topic, num_quizzes, selected_Question_Difficulty, selected_level, 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}.Ensure the questions match the indicated level of understanding:{selected_level} and difficulty:{selected_Question_Difficulty}. Generate only {num_quizzes} questions and give it in a python list')
|
31 |
|
32 |
|
33 |
if model == "Open AI":
|
|
|
27 |
|
28 |
|
29 |
def GetLLMResponse(selected_topic_level, selected_topic, num_quizzes, selected_Question_Difficulty, selected_level, 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}.Ensure the questions match the indicated level of understanding:{selected_level} and difficulty:{selected_Question_Difficulty}. Generate only {num_quizzes} questions and give it in a python list with variable name question_list')
|
31 |
|
32 |
|
33 |
if model == "Open AI":
|