Issue #3537651: Update for a minimal API call and JSON response

Issue #3537651: Update convert() and createPrompt() methods to create a prompt with both pre-set text and html that is dynamically grabbed from a given url and return a basic json object; update tests

A simple way to test:

ddev drush php-eval "print_r(\Drupal::service('ai_migration.ai_migrator')->convert('https://example.com'));"
Edited by majorrobot

Merge request reports

Loading