briansunter / logseq-plugin-gpt3-openai

A plugin for GPT-3 AI assisted note taking in Logseq
https://twitter.com/bsunter
MIT License
700 stars 65 forks source link

'Unkown OpenAI Error' #91

Closed mcampea closed 1 year ago

mcampea commented 1 year ago

When trying to summarize a page using '/gpt-page' I often get 'Unkown OpenAI error'.

briansunter commented 1 year ago

Hey @mcampea could you add a screenshot of the networking response using the instructions in the Readme. That will help me debug what the issue is. It's possible their API was having temporary downtime. How often do you see this?

mcampea commented 1 year ago

Seems like it is just hitting max token length. image

mcampea commented 1 year ago

Is there anyway to work around this? i.e., summarize the page in chunks to the API?

briansunter commented 1 year ago

I have some upcoming features to support this #21 and #20 For now you'd have to split it into chunks, summarize those, then summarize the summaries.