Artificial Intelligence is all the hype these days, but it is quickly becoming an irreplaceable tool in many people's workflows, including our own. We’ve been utilising various AI models to help assist with our workflow, everything from troubleshooting error logs, to aiding in the development of custom modules, to generating unique image and video assets for marketing materials. It’s only natural the next evolution is full integration into our website projects.
Drupal’s long been our preferred content management system. Not only is it 100% free and open-source, it’s fast, secure, supports everything needed when managing content and users. In this blog post I want to share 3 ways on how we are currently integrating AI models like ChatGPT into our Drupal Projects.
AI Chatbot
The chatbot connects via API to popular AI models, for example on the Marketing Bangkok website, the chatbot is connected with OpenAI and using ChatGPT 4.0. The LLM receives explicit instructions in the way of prompts in the Drupal backend on how to communicate and respond to users' inquiries. Importantly, the chatbot can reference the content that has been indexed on your website using search_api. The chatbot is also able to take leads and directly email them through.
Supports Thai language!
AI Assistant
Conveniently available as a tool within the CKEditor, users can quickly get access to AI models to spell/grammar check content, create new content, fix HTML formatting or even translate content.
AI Translate
Now when translating a Drupal page there is a new option to translate via AI rather than manual input. The title, body and other fields are sent via API to the AI model i.e. ChatGPT or Google Gemini for translation into the required language.
AI SEO
Last but not least, AI SEO module allows you to conveniently generate AI audit reports for your websites pages, suggesting where you improve and optimize better.
The AI functionalities are not limited to these 3, there are multiple modules and use cases where connecting with an AI model is helpful for the management of your website.