Base file directory for the Chatbot

Created on 3 June 2024, 8 months ago
Updated 17 June 2024, 7 months ago

Here's the directory structure for the files and folders we are using for our Drupal module. chatbot.html.twig contains the HTML structure of the chatbot.

├── modules/
│ ├── custom/
│ │ ├── gpt_chatbot/
│ │ │ ├── css/
│ │ │ │ └── chatbot.css
│ │ │ ├── js/
│ │ │ │ └── chatbot.js
│ │ │ ├── templates/
│ │ │ │ └── chatbot.html.twig
│ │ │ ├── src/
│ │ │ │ ├── Controller/
│ │ │ │ │ └── ChatbotController.php
│ │ │ │ ├── Plugin/
│ │ │ │ │ └── Chatbot/
│ │ │ │ │ └── ChatbotPluginBase.php
│ │ │ │ ├── Form/
│ │ │ │ │ └── ChatbotSettingsForm.php
│ │ │ ├── gpt_chatbot.info.yml
│ │ │ ├── gpt_chatbot.module
│ │ │ ├── gpt_chatbot.routing.yml
│ │ │ ├── gpt_chatbot.services.yml

for the gpt-chatbot.info.yml:

name: 'ChatGPT Chatbot'
type: module
description: 'A module that integrates a ChatGPT chatbot with OpenAI services.'
core_version_requirement: ^9 || ^10
package: Custom
dependencies:
  - drupal:core
📌 Task
Status

Active

Component

Code

Created by

🇮🇳India ubulinux

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024