Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running error #7

Open
ThreeDeePrint opened this issue Mar 4, 2024 · 2 comments
Open

running error #7

ThreeDeePrint opened this issue Mar 4, 2024 · 2 comments

Comments

@ThreeDeePrint
Copy link

Hey ,

I am getting the following after watching your youtube? Haven't changed any files other than the API code and the XML's and Txt's

Any recommendation? ( i installed and reinstalled a few times with clean files and its the same )

C:\Users\xxxx\Desktop\AutoBlogger\chatpgtblogger>py testing3.py
Traceback (most recent call last):
File "C:\Users\xxxx\Desktop\AutoBlogger\chatpgtblogger\testing3.py", line 26, in
assistant = client.beta.assistants.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\resources\beta\assistants\assistants.py", line 108, in create
return self._post(
^^^^^^^^^^^
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai_base_client.py", line 1200, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai_base_client.py", line 889, in request
return self._request(
^^^^^^^^^^^^^^
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai_base_client.py", line 980, in _request
raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'message': 'Failed to index file: Unsupported file file-sAB6UDfZY0Uc7554S2y5YIsJ type: text/csv error_code: unhandled_mimetype', 'type': 'invalid_request_error', 'param': None, 'code': None}}

@gatoguff
Copy link

gatoguff commented Mar 9, 2024

Same here. Keep me posted if any solutions arise.

And thank you Hamish for all the amazing work!

@jennuhhfurr
Copy link

I ran into this same exact issue and can't figure it out :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants