AnishaG0201 commited on
Commit
308d42c
1 Parent(s): 506c653

Update function.py

Browse files
Files changed (1) hide show
  1. function.py +2 -2
function.py CHANGED
@@ -26,8 +26,8 @@ def get_answers(questions,model):
26
 
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
 
32
 
33
  if model == "Open AI":
 
26
 
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 ')
31
 
32
 
33
  if model == "Open AI":