Add reference implementation of Chat consumer
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3558480. --> Reported by: [valthebald](https://www.drupal.org/user/239562) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Follow up to <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-14"><a href="https://www.drupal.org/project/ai/issues/3492940" title="Status: Reviewed &amp; tested by the community">#3492940: Add ChatProcessor</a></span>. After we have a separation of backend (Chat consumer manager) and frontend (deepchat at the moment), we can create a minimal implementation of chat consumer interface that will not require chatbot JS library</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ol> <li>Add ai_chatbot/simplechat library that includes simplechat/simplechat.js </li><li>Rename DeepchatFormBlock back to ChatFormBlock (current ChatFormBlock should be removed in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3530307" title="Status: Closed (fixed)">#3530307: Remove AI Chatbot</a></span> </li> <li>In renamed ChatFormBlock::blockForm() add selection of front end library: deepchat or simplechat</li> </ol> <h3 id="summary-remaining-tasks">Remaining tasks</h3>
issue