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.

Command icon 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

_shy created an issue. See original summary.

_shy’s picture

Issue summary: View changes

_shy’s picture

Status: Active » Needs review
guido_s’s picture

Assigned: Unassigned » _shy
Status: Needs review » Needs work

With 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.

_shy’s picture

Status: Needs work » Needs review

  • guido_s committed 95858bef on 1.0.x authored by _shy
    feat: #3563638 Implement a possibility to work with AI ChatBot
    
    By: _shy...
guido_s’s picture

Status: Needs review » Fixed

As 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

_shy’s picture

Created a follow-up issue with the AI DeepChat Chatbot implementation:
#3568423: Implement a possibility to work with AI DeepChat Chatbot

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.