gk2410 commited on
Commit
6cd9fcb
·
verified ·
1 Parent(s): 7804499

Update interview_engine.py

Browse files
Files changed (1) hide show
  1. interview_engine.py +2 -11
interview_engine.py CHANGED
@@ -1,4 +1,4 @@
1
- from llm import ask_llm
2
 
3
  INTERVIEW_PROMPT = """
4
  You are a strict technical examiner conducting a student project interview.
@@ -16,17 +16,8 @@ Your task:
16
  """
17
 
18
  def generate_question(context: str, student_response: str) -> str:
19
- prompt = f"""
20
- {INTERVIEW_PROMPT}
21
 
22
- --- Project Content ---
23
- {context}
24
-
25
- --- Student Explanation ---
26
- {student_response}
27
-
28
- Question:
29
- """
30
  try:
31
  question = ask_llm(prompt).strip()
32
  if not question:
 
1
+ from pipeline.llm import ask_llm
2
 
3
  INTERVIEW_PROMPT = """
4
  You are a strict technical examiner conducting a student project interview.
 
16
  """
17
 
18
  def generate_question(context: str, student_response: str) -> str:
19
+ prompt = f"{INTERVIEW_PROMPT}\n\nProject Content:\n{context}\n\nStudent Response:\n{student_response}\nQuestion:"
 
20
 
 
 
 
 
 
 
 
 
21
  try:
22
  question = ask_llm(prompt).strip()
23
  if not question: