LagPixelLOL / ChatGPTCLIBot

ChatGPT Bot in CLI with long term memory support using Embeddings.
MIT License
341 stars 38 forks source link

Program Terminating during Create new Document Q&A #28

Closed NeauraNightsong closed 2 months ago

NeauraNightsong commented 1 year ago

During the process of creating a new doc Q&A I've had it fail 3 times in a row when processing a text document, one I've processed many dozens of times before, but I add a bit to it and it gets longer over time. suddenly today the program keeps suddenly crashing whenever I try to go through the same process I always go through. Is there a max length the text document can be or any other reasons why it would just randomly terminate like this during the create doc process?

LagPixelLOL commented 1 year ago

Can you provide more info, like is there any error messages?

NeauraNightsong commented 1 year ago

There's no error message, the program just terminates, it's usually like half an hour or so into the process of creating the Q&A doc, I think it's right at the end of the process, too, then the window just closes, every time.

On Tue, Sept 19, 2023, 3:19 p.m. v2ray @.***> wrote:

Can you provide more info, like is there any error messages?

— Reply to this email directly, view it on GitHub https://github.com/LagPixelLOL/ChatGPTCLIBot/issues/28#issuecomment-1726340605, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5X3AGMWDK3MUSV6DRUDMZLX3HV4ZANCNFSM6AAAAAA45ZCXQ4 . You are receiving this because you authored the thread.Message ID: @.***>

NeauraNightsong commented 1 year ago

And to be a little more specific, I think it goes all the way through the "Splitting document .txt file into chunks..." process, but then when the next message shows up, I forget what it says because it only stays on the screen for an instant before the window just disappears, but like "Getting embeddings for each chunk" or whatever the next message is, THAT's exactly when it crashes.

LagPixelLOL commented 1 year ago

Hmmmm, I'll look into it, thanks.

NeauraNightsong commented 1 year ago

No worries! I think my document is probably longer than most users would try to input, but I didn't think/know there was any kind of maximum as to how long of a txt file could be processed. All my other files are working fine, and to troubleshoot, I've made several new versions of the same document that crashes it, one without any symbols or emojis, special characters etc, and one as a clean copy , just to make sure it wasnt a corrupted .txt file or something, but all the versions have the same result when creating Q&A doc, so my best guess so far is that it's related to the length.

LagPixelLOL commented 2 months ago

NOTICE: NO LONGER MAINTAINED