logseq-plugin-gpt3-openai icon indicating copy to clipboard operation
logseq-plugin-gpt3-openai copied to clipboard

Unknown error

Open yaakovEntin opened this issue 1 year ago • 17 comments

Hi Brian, I hope this message finds you well. I appreciate the fantastic tool you've developed. It has the potential to greatly assist me in my work. However, I'm currently facing an issue. The popup window displays "Error - Unknown error." I've input my openAI key but I've been unable to locate any error logs. I've tried different prompt types. Could you please provide some guidance on how to resolve this matter. Are there any troubleshooting steps you recommend, or is there additional information you need from me? Thank you for your time and effort in developing this tool, and I look forward to your assistance in resolving this issue. Best regards, yentin

yaakovEntin avatar Aug 02 '23 07:08 yaakovEntin

Same for me: image

any advice on that please?

krzakx avatar Aug 18 '23 05:08 krzakx

image

Showing the same error for me too. Please someone suggest a fix

Dyutin avatar Aug 19 '23 15:08 Dyutin

Hello. You can open the developer tools (Ctrl-Shift-i on Windows/Linux) and inspect the "completion" call in the network tab.

Example:

image

juanjonavarro avatar Aug 19 '23 17:08 juanjonavarro

I have the same problem. If the model does not exist, then which model should I use?

MarsEdmonton avatar Aug 21 '23 16:08 MarsEdmonton

You can use any model available for the /v1/chat/completions endpoint:

gpt-4, gpt-4-0613, gpt-4-32k, gpt-4-32k-0613, gpt-3.5-turbo, gpt-3.5-turbo-0613, gpt-3.5-turbo-16k, gpt-3.5-turbo-16k-0613

Note that the gpt-4 models are only available to "those who have made at least one successful payment through our developer platform."

Reference: https://platform.openai.com/docs/models

This means

juanjonavarro avatar Aug 22 '23 17:08 juanjonavarro

Thanks for your comments. But I've tried all the models, and the error still persists. So it's not because of the model.

MarsEdmonton avatar Aug 22 '23 17:08 MarsEdmonton

What error do you get on the developers tool?

juanjonavarro avatar Aug 22 '23 17:08 juanjonavarro

Not sure how to check the developer tool. Your previous post is a puzzle for me: when/where to open the developer tool? Sorry I am not a programmer.

MarsEdmonton avatar Aug 22 '23 17:08 MarsEdmonton

I found it! It indicated that I don't have quota now. Weird, I can use ChatGPT now, but not Quota?

MarsEdmonton avatar Aug 22 '23 17:08 MarsEdmonton

ChatGPT and OpenAI API access are two different services. They provide us with a "free" welcome credit, but you must provide your card information afterward.

juanjonavarro avatar Aug 22 '23 18:08 juanjonavarro

Thanks! Now I get it.

MarsEdmonton avatar Aug 22 '23 19:08 MarsEdmonton

Thank you for this I discovered this today, now its working!

Gurp5 avatar Sep 11 '23 16:09 Gurp5

ChatGPT and OpenAI API access are two different services. They provide us with a "free" welcome credit, but you must provide your card information afterward.

This might be a good tip to add to the readme. Probably others will stumble on it.

(edit) Submitted PR for this: https://github.com/briansunter/logseq-plugin-gpt3-openai/pull/126

thams avatar Sep 21 '23 20:09 thams

ChatGPT and OpenAI API access are two different services. They provide us with a "free" welcome credit, but you must provide your card information afterward.

HI Are you saying it only works with a paid account now ? I can see adding a payment method but you have to deposit money with them

thorrrr avatar Dec 14 '23 08:12 thorrrr

I'm not sure if you need to deposit money; this is an OpenAI payment policy. I recommend reaching out to their user support center with your question.

juanjonavarro avatar Dec 14 '23 12:12 juanjonavarro

Hi, for me, it just work every second day .. I will go and check my account though ..

punkyard avatar May 19 '24 21:05 punkyard