Make use of available paragraphs
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3579662. --> Reported by: [rupertj](https://www.drupal.org/user/549944) Related to !28 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>This module currently only uses two paragraph types when creating publications. It'll create one text paragraph per page, and add a media paragraph for each image attached to the page.</p> <p>If we made use of all the possible paragraphs the site has available, we'd give better results, and make this module more portable. (As we currently assume the presence of the paragraphs that LGD defines).</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Instead of asking the AI to transform plain text into a JSON response composed of title and content objects, try to get it to return a richer structure, based on the paragraphs that the site has available.</p>
issue