Closed ymdahi closed 2 months ago
This is in the works, I finally have all the basic structure for the AI Block, I can add it from the editor, next step is to send the question to OpenAI and render the answer in the main content div, I'll rely on the OpenAI Drupal Module which already has a service that I'll try to use it from the Gutenberg Block (Perhaps I'll need to create a custom REST Endpoint for that)
@ymdahi I refactored the AI Block to move the OpenAI prompt in the block settings.
Pending: Integration with OpenAI (ongoing)
Hi @ymdahi this is done, I've managed to create an initial release of this module that actually works (screenshots included), there's some issues that need to be fixed, the onBlur event is not working as I expected, I'll look on that later. Good stuff !!
Goal is to create something similar to this:
The new block will: