Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BekaValentine/bbe971c8529278641793a7bec4ada23f to your computer and use it in GitHub Desktop.
Save BekaValentine/bbe971c8529278641793a7bec4ada23f to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/beka/Projects/github_projects/blackbird/script/quality/llm_evaluation.py", line 176, in <module>
scores = list(executor.map(score_case, cases))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 609, in result_iterator
yield fs.pop().result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/beka/Projects/github_projects/blackbird/script/quality/llm_evaluation.py", line 140, in score_case
score = evaluate(
File "/Users/beka/Projects/github_projects/blackbird/script/quality/llm_evaluation.py", line 102, in evaluate
response = completion(
File "/Users/beka/Projects/github_projects/blackbird/script/quality/llm_evaluation.py", line 73, in completion
raise Exception(
Exception: completions status code was 422: b'Unprocessable Entity\n'!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment