Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
·
22bf23c
1
Parent(s):
fda8b87
One system prompt
Browse files- api/llm.py +1 -2
api/llm.py
CHANGED
@@ -107,8 +107,7 @@ class LLMManager:
|
|
107 |
system_prompt = self.prompt_manager.get_system_prompt(f"{interview_type}_interviewer_prompt")
|
108 |
|
109 |
return [
|
110 |
-
{"role": "system", "content": system_prompt},
|
111 |
-
{"role": "system", "content": f"The candidate is solving the following problem: {problem}"},
|
112 |
]
|
113 |
|
114 |
def get_problem_prepare_messages(self, requirements, difficulty, topic, interview_type):
|
|
|
107 |
system_prompt = self.prompt_manager.get_system_prompt(f"{interview_type}_interviewer_prompt")
|
108 |
|
109 |
return [
|
110 |
+
{"role": "system", "content": system_prompt + f"\nThe candidate is solving the following problem:\n {problem}"},
|
|
|
111 |
]
|
112 |
|
113 |
def get_problem_prepare_messages(self, requirements, difficulty, topic, interview_type):
|