diff --git a/session_2/challenge/scripts/model.py b/session_2/challenge/scripts/model.py index 3296b16..69636e9 100644 --- a/session_2/challenge/scripts/model.py +++ b/session_2/challenge/scripts/model.py @@ -19,9 +19,9 @@ class G4fModel(Model): def generate(self, prompt: str) -> str: """Completes a prompt using gpt-4 for free model.""" - response = g4f.ChatCompletion.create( - model=g4f.models.gpt_4, - messages=[{"role": "user", "content": prompt}], - ) - # response = "yes" + # response = g4f.ChatCompletion.create( + # model=g4f.models.gpt_4, + # messages=[{"role": "user", "content": prompt}], + # ) + response = "yes" return response diff --git a/session_2/challenge/submissions/baseline_copy.py b/session_2/challenge/submissions/baseline_copy.py index c8f6b3e..0ad174f 100644 --- a/session_2/challenge/submissions/baseline_copy.py +++ b/session_2/challenge/submissions/baseline_copy.py @@ -12,7 +12,7 @@ def build_prompt(self, job_description: str) -> str: prompt = f""" Say "YES" if the given job description is suitable for - a freshers other wise say "NO". + a freshers other wise say "NO" {job_description}.