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

Empty response from perplexity.ai #119

Open
nimafazeli opened this issue Jul 13, 2024 · 2 comments
Open

Empty response from perplexity.ai #119

nimafazeli opened this issue Jul 13, 2024 · 2 comments

Comments

@nimafazeli
Copy link

I have done the setup with openai and perplexity. When I run the following block, I get nothing

#+begin_ai :service perplexity.ai :model llama-3-sonar-large-32k-online
[ME]: Tell me fun facts about Emacs.

[AI]: 
#+end_ai

The only thing shown is the message Contacting host: api.perplexity.ai:443 but I get an empty response from [AI]. When I chek my perplexity account, it has charged me, meaning that a response has been sent (but maybe not parsed properly?)
I tried other models of perplexity and got the same thing.

Same prompt works with openai.

@nimafazeli nimafazeli changed the title Response from perplexity does not get back Empty response from perplexity.ai Jul 13, 2024
@rksm
Copy link
Owner

rksm commented Aug 3, 2024

Can you run M-x org-ai-open-request-buffer and see what it says? I would assume a 401 error.

@rksm
Copy link
Owner

rksm commented Aug 3, 2024

Perplexity requires a paid account for their API, have you set everything up accordingly?

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