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

getting error not working #8

Open
sarthak501 opened this issue Mar 22, 2024 · 0 comments
Open

getting error not working #8

sarthak501 opened this issue Mar 22, 2024 · 0 comments

Comments

@sarthak501
Copy link

: 2+8
Traceback (most recent call last):
File "/home/runner/pplx/main.py", line 4, in
for a in Perplexity().generate_answer(prompt):
File "/home/runner/pplx/.pythonlibs/lib/python3.10/site-packages/perplexityai/init.py", line 25, in init
self.sid = loads(response)["sid"]
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/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)

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

1 participant