Closed mtariqsajid closed 3 months ago
anyone help me here @transitive-bullshit
This project is undergoing a major revamp; closing out old issues as part of the prep process.
The chatgpt
package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.
Describe the feature
I want to know is there a way to send last 5 message of the user in sendMessage method
right now Messages are omit in sendMessage method
what i am trying to do is create a chat message like chatgpt and i want to get all message by user id then send last 5 message to chatgpt right now we can only send last message parent id to chatgpt. and parent message is change every time new message is return is there is a possibility to keep parent message id same but change the chat message id