-
Notifications
You must be signed in to change notification settings - Fork 0
gpt
Hirokazu Chiba edited this page Jul 16, 2024
·
3 revisions
human: 150,814 genes => 58,648円の計算
- input tokens: 19,570,794
- output tokens: 19,542,473
- gpt-4o
- 150円/ドル
$ c 116844.out l gpt --ja > 116844.ja
$ c 3371.out l gpt --ja > 3371.ja
Traceback (most recent call last):
File "/home/chiba/etc/bin/gpt", line 89, in <module>
response = client.chat.completions.create(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_utils/_utils.py", line 275, in wrapper
return func(*args, **kwargs)
File "/home/chiba/.local/lib/python3.9/site-packages/openai/resources/chat/completions.py", line 667, in create
return self._post(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 1208, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 897, in request
return self._request(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 973, in _request
return self._retry_request(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 1021, in _retry_request
return self._request(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 973, in _request
return self._retry_request(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 1021, in _retry_request
return self._request(
File "/home/chiba/.local/lib/python3.9/site-packages/openai/_base_client.py", line 988, in _request
raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 500 - {'error': {'message': 'Failed to create completion as the model generated invalid Unicode output. Unfortunately, this can happen in rare situations. Consider reviewing your prompt or reducing the temperature of your request. You can retry your request, or contact us through an Azure support request at: https://go.microsoft.com/fwlink/?linkid=2213926 if the error persists. (Please include the request ID 793d051c-9273-4022-bcb3-aee5ba15efee in your message.)', 'type': 'server_error', 'param': None, 'code': 'invalid_model_output'}}