- Issue created by @bbruno
- 🇵🇹Portugal bbruno Poland
We have already implemented this at 1xINTERNET and would want to contribute our work
- 🇬🇧United Kingdom MrDaleSmith
@bbruno feel free: https://www.drupal.org/community/contributor-guide →
Currently, the only available option for storing chat history in an AI Assistant is through server sessions. This can interfere with Drupal's caching and limits flexibility in how chat history is preserved.
Implementing local storage support would enable chat history to persist directly in the user's browser, decoupling it from server-side session handling.
- Implement an option to store chat history in the browser's local storage, enabled in the "Allow History" field of an AI Assistant
- Deepchat has the capabilities of intercepting requests and responses coming from/to the User and the AI, this can be used to intercept each message from the User and AI and add it to its local storage space, as well as appending previous chat history being sent to the AI along with the current message
New configuration option in the AI Assistant settings to enable storing chat history in the browser using local storage.
Active
1.1
AI Assistants API
We have already implemented this at 1xINTERNET and would want to contribute our work
@bbruno feel free: https://www.drupal.org/community/contributor-guide →