Problem/Motivation
AI module has a sub-module that allows adding a block with ChatBot support. This sub-module allows adding 2 types of blocks: AI Chatbot and AI DeepChat Chatbot.
It would be great to have support for the Chatbots.
This task is designed to create a sub-module for the Cookies Addons module with support for AI Chatbot implementation.
AI DeepChat Chatbot support can be added later.
Issue fork cookies_addons-3563638
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
_shyComment #4
_shyComment #5
guido_sWith the current code it doesn't look any different to me than the cookies_addons_blocks module.
And I think finding a block ID is a pain in many cases.
For a good UX it would be nice to either provide a list with all the chat blocks and make them selectable or just automatically block any chat block DeepChatFormBlock, ChatFormBlock or any block that extends one of them.
Also some basic styling would be nice to provide.
Otherwise the bare minimum would be to provide some description with how to get the block ID.
And what happens when someone provides a block ID that doesn't belong to a chat block? We should make sure only chat blocks are handled with this module.
Comment #6
_shyComment #8
guido_sAs we need this functionality asap, I improved the code a bit, tested it and prepared the code to allow more chat types.
@_shy could you create a follow up issue to also handle ai_deepchat_block and not only ai_chatbot_block please?
And please test the current dev version of the module and add a new release if everything is ok.
Comment #10
_shyCreated a follow-up issue with the AI DeepChat Chatbot implementation:
#3568423: Implement a possibility to work with AI DeepChat Chatbot