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

json.decoder.JSONDecodeError: #9

Open
AtulRajVAASITS opened this issue Apr 23, 2024 · 1 comment
Open

json.decoder.JSONDecodeError: #9

AtulRajVAASITS opened this issue Apr 23, 2024 · 1 comment

Comments

@AtulRajVAASITS
Copy link

Traceback (most recent call last):
File "d:\Working on\ml\research\test.py", line 956, in
for a in Perplexity().generate_answer(prompt):
^^^^^^^^^^^^
File "d:\Working on\ml\research\research\Lib\site-packages\perplexityai_init_.py", line 22, in init
self.sid = loads(
^^^^^^
File "C:\Users\alok.r\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alok.r\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alok.r\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@andrewcampi
Copy link

+1

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

2 participants