Does this library support saving the context of a conversation. #21
-
Does this library support saving the context of a conversation with a bot (saving correspondence in a chat)? There is also a problem that if the conversation is large enough, then the limit of approximately 4000 tokens (3000 words in my opinion) will be exceeded and old queries should be removed from the context. The documentation suggests saving the context in the database or writing to a temporary file. What do you say about this? Because, for example, in the web interface (https://chat.openai.com/chat), the chat by default supports the context, unlike the API |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi there @MarkOdinSon, This library does not currently have any functionality to save or access conversation context/history. We encourage users to implement this within their own apps themselves, using the framework and/or code of their choice. I hope that helps, James |
Beta Was this translation helpful? Give feedback.
Hi there @MarkOdinSon,
This library does not currently have any functionality to save or access conversation context/history.
We encourage users to implement this within their own apps themselves, using the framework and/or code of their choice.
I hope that helps,
James