gpt4free
gpt4free copied to clipboard
Using the context of previous messages
Hi, I'm creating a bot, how can I make GPT chat use the context of previous messages when a new message is sent from a user?
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
This would be great to know. I don't see a point in using this API unless it can use the chat context. Might as well just use the providers interfaces themselves (e.g. Bing) because at least it has chat context.
You can have a chat context. Simply add your context to the messages.
A Conversation API is not planned or wanted.
Only Bing has in g4f a Conversation Api, but there is no Documentation jet.
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
Closing due to inactivity.
You can have a chat context. Simply add your context to the messages.
A Conversation API is not planned or wanted.
Only Bing has in g4f a Conversation Api, but there is no Documentation jet.
I don't quite understand why it's set up the way it is then, to look and act as a chat interface, if it was never intended to take context into account.
You say only bing has conversation, but I've use many other ones that have conversation even though it's not built into api
Every provider support conversation with messages