IliaLarchenko commited on
Commit
14a528a
1 Parent(s): b5957d1

Fixed problem generation prompt

Browse files
Files changed (1) hide show
  1. api/llm.py +1 -1
api/llm.py CHANGED
@@ -20,7 +20,7 @@ class PromptManager:
20
  return self.add_limit(prompt)
21
 
22
  def get_problem_requirements_prompt(self, type, difficulty=None, topic=None, requirements=None):
23
- prompt = f"Create a {difficulty} {topic} {type} problem. " f"Additional requirements: {requirements}. "
24
  return self.add_limit(prompt)
25
 
26
 
 
20
  return self.add_limit(prompt)
21
 
22
  def get_problem_requirements_prompt(self, type, difficulty=None, topic=None, requirements=None):
23
+ prompt = f"Create a {type} problem. Difficulty: {difficulty}. Topic: {topic} " f"Additional requirements: {requirements}. "
24
  return self.add_limit(prompt)
25
 
26